DECLARE INTEGER GetClassLong IN Win32API; INTEGER hWnd, INTEGER nIndex * -16 is GCL_HMODULE lnHInstance = GetClassLong(hWnd, -16)