/reactos/modules/rostests/apitests/user32/ |
H A D | CreateIconFromResourceEx.c | 7 HMODULE hMod; in START_TEST() local 14 hMod = GetModuleHandle(NULL); in START_TEST() 15 ok(hMod != NULL, "\n"); in START_TEST() 17 hcur1 = LoadCursor(hMod, "TESTCURSOR"); in START_TEST() 21 hResource = FindResourceA(hMod, in START_TEST() 26 hMem = LoadResource(hMod, hResource); in START_TEST() 34 …hcur2 = CreateIconFromResourceEx(lpResource, SizeofResource(hMod, hResource), FALSE, 0x00030000, 0… in START_TEST() 49 …hcur1 = CreateIconFromResourceEx(lpResource, SizeofResource(hMod, hResource), TRUE, 0x00030000, 0,… in START_TEST() 59 hResource = FindResourceA(hMod, MAKEINTRESOURCEA(wResId), RT_CURSOR); in START_TEST() 62 hMem = LoadResource(hMod, hResource); in START_TEST() [all …]
|
H A D | LoadImage.c | 28 HMODULE hMod = LoadLibraryExW(tests[i].file, NULL, LOAD_LIBRARY_AS_DATAFILE); in test_LoadImage_DataFile() local 29 if (!((SIZE_T)hMod & 3)) in test_LoadImage_DataFile() 35 handle1 = LoadImage(hMod, MAKEINTRESOURCE(tests[i].res_id), IMAGE_ICON, 0, 0, tests[i].lr); in test_LoadImage_DataFile() 36 …e1 == !!tests[i].result, "Failed to load %ls,-%d from %p\n", tests[i].file, tests[i].res_id, hMod); in test_LoadImage_DataFile() 38 handle2 = LoadImage(hMod, MAKEINTRESOURCE(tests[i].res_id), IMAGE_ICON, 0, 0, tests[i].lr); in test_LoadImage_DataFile() 41 FreeLibrary(hMod); in test_LoadImage_DataFile() 43 handle1 = LoadImage(hMod, MAKEINTRESOURCE(tests[i].res_id), IMAGE_ICON, 0, 0, tests[i].lr); in test_LoadImage_DataFile()
|
H A D | LookupIconIdFromDirectoryEx.c | 8 HMODULE hMod; in START_TEST() local 83 hMod = GetModuleHandle(NULL); in START_TEST() 84 ok(hMod != NULL, "\n"); in START_TEST() 86 hResource = FindResourceA(hMod, in START_TEST() 91 hMem = LoadResource(hMod, hResource); in START_TEST()
|
H A D | CreateDialog.c | 162 HMODULE hMod; in Test_CreateDialogW() local 166 hMod = GetModuleHandle(NULL); in Test_CreateDialogW() 167 ok(hMod != NULL, "\n"); in Test_CreateDialogW() 174 wc.hInstance = hMod; in Test_CreateDialogW() 186 hWnd = CreateDialogW(hMod, L"TESTDIALOG", 0, Test_CreateDialogW_DLGPROC); in Test_CreateDialogW()
|
H A D | DM_REPOSITION.c | 132 HMODULE hMod = GetModuleHandle(NULL); in START_TEST() local 133 ok(hMod != NULL, "\n"); in START_TEST() 134 DialogBox(hMod, TEXT("REPOSITION"), NULL, DialogProc); in START_TEST()
|
H A D | NextDlgItem.c | 414 HMODULE hMod = GetModuleHandle(NULL); in START_TEST() local 415 ok(hMod != NULL, "\n"); in START_TEST() 416 DialogBox(hMod, TEXT("NEXTDLGITEM"), NULL, RadioButtonDialogProc); in START_TEST()
|
/reactos/modules/rostests/winetests/psapi/ |
H A D | psapi_main.c | 80 HMODULE hMod; in test_EnumProcessModules() local 92 hMod = (void *)0xdeadbeef; in test_EnumProcessModules() 98 hMod = (void *)0xdeadbeef; in test_EnumProcessModules() 102 ok(hMod == GetModuleHandleA(NULL), in test_EnumProcessModules() 115 hMod = (void *)0xdeadbeef; in test_EnumProcessModules() 118 ok(hMod == GetModuleHandleA(NULL), in test_EnumProcessModules() 129 hMod = NULL; in test_EnumProcessModules() 150 hMod = NULL; in test_EnumProcessModules() 167 ok(info.lpBaseOfDll == hMod, "expected %p, got %p\n", hMod, info.lpBaseOfDll); in test_EnumProcessModules() 218 ok(info.lpBaseOfDll == hMod, "lpBaseOfDll=%p hMod=%p\n", info.lpBaseOfDll, hMod); in test_GetModuleInformation() [all …]
|
/reactos/dll/win32/fmifs/ |
H A D | init.c | 51 HMODULE hMod = NULL; in AddProvider() local 54 hMod = LoadLibraryW(DllFile); in AddProvider() 55 if (!hMod) in AddProvider() 69 Provider->Chkdsk = (PULIB_CHKDSK)GetProcAddress(hMod, "Chkdsk"); in AddProvider() 72 Provider->Format = (PULIB_FORMAT)GetProcAddress(hMod, "Format"); in AddProvider() 83 if (hMod) in AddProvider() 84 FreeLibrary(hMod); in AddProvider()
|
/reactos/dll/cpl/sysdm/ |
H A D | sysdm.c | 99 HMODULE hMod; in AddNetIdPage() local 102 hMod = LoadLibrary(TEXT("netid.dll")); in AddNetIdPage() 103 if (hMod != NULL) in AddNetIdPage() 105 pCreateNetIdPage = (PCreateNetIDPropertyPage)GetProcAddress(hMod, in AddNetIdPage() 122 FreeLibrary(hMod); in AddNetIdPage() 123 hMod = NULL; in AddNetIdPage() 127 return hMod; in AddNetIdPage()
|
/reactos/modules/rosapps/lib/vfdlib/ |
H A D | vfdlib.c | 51 HMODULE hMod; in DllMain() local 54 if (EnumProcessModules(GetCurrentProcess(), &hMod, sizeof(hMod), &size)) { in DllMain() 55 GetModuleBaseName(GetCurrentProcess(), hMod, name, sizeof(name)); in DllMain()
|
/reactos/modules/rostests/winetests/schannel/ |
H A D | main.c | 242 HMODULE hMod = LoadLibraryA("schannel.dll"); in START_TEST() local 243 if (!hMod) { in START_TEST() 248 pSpLsaModeInitialize = (void *)GetProcAddress(hMod, "SpLsaModeInitialize"); in START_TEST() 249 pSpUserModeInitialize = (void *)GetProcAddress(hMod, "SpUserModeInitialize"); in START_TEST() 258 FreeLibrary(hMod); in START_TEST()
|
/reactos/win32ss/user/user32/windows/ |
H A D | hook.c | 83 HINSTANCE hMod, in IntSetWindowsHook() argument 90 if (NULL != hMod) in IntSetWindowsHook() 92 if (0 == GetModuleFileNameW(hMod, ModuleName, MAX_PATH)) in IntSetWindowsHook() 103 return NtUserSetWindowsHookEx(hMod, &USModuleName, dwThreadId, idHook, lpfn, bAnsi); in IntSetWindowsHook() 407 HINSTANCE hMod, in SetWindowsHookExA() argument 410 return IntSetWindowsHook(idHook, lpfn, hMod, dwThreadId, TRUE); in SetWindowsHookExA() 422 HINSTANCE hMod, in SetWindowsHookExW() argument 425 return IntSetWindowsHook(idHook, lpfn, hMod, dwThreadId, FALSE); in SetWindowsHookExW()
|
/reactos/modules/rostests/apitests/dbghelp/ |
H A D | rsym.c | 301 HMODULE hMod; in START_TEST() local 338 hMod = LoadLibraryA(szDllName); in START_TEST() 339 if (hMod) in START_TEST() 341 BaseAddress = (DWORD64)(DWORD_PTR)hMod; in START_TEST() 353 FreeLibrary(hMod); in START_TEST()
|
H A D | pdb.c | 567 HMODULE hMod; in START_TEST() local 611 hMod = LoadLibraryA(szDllName); in START_TEST() 612 if (hMod) in START_TEST() 614 BaseAddress = (DWORD64)(DWORD_PTR)hMod; in START_TEST() 631 FreeLibrary(hMod); in START_TEST()
|
/reactos/modules/rostests/winetests/kernel32/ |
H A D | module.c | 132 HMODULE hMod; in testGetModuleFileName() local 137 hMod = (name) ? GetModuleHandleA(name) : NULL; in testGetModuleFileName() 142 len1A = GetModuleFileNameA(hMod, bufA, sizeof(bufA)); in testGetModuleFileName() 146 ok(len1A > 0, "Getting module filename for handle %p\n", hMod); in testGetModuleFileName() 152 len1W = GetModuleFileNameW(hMod, bufW, sizeof(bufW) / sizeof(WCHAR)); in testGetModuleFileName() 156 ok(len1W > 0, "Getting module filename for handle %p\n", hMod); in testGetModuleFileName() 169 len2A = GetModuleFileNameA(hMod, bufA, len1A / 2); in testGetModuleFileName() 170 ok(len2A > 0, "Getting module filename for handle %p\n", hMod); in testGetModuleFileName() 175 len2W = GetModuleFileNameW(hMod, bufW, len1W / 2); in testGetModuleFileName() 176 ok(len2W > 0, "Getting module filename for handle %p\n", hMod); in testGetModuleFileName()
|
/reactos/modules/rostests/apitests/gdi32/ |
H A D | GetFontResourceInfoW.c | 416 HMODULE hMod = GetModuleHandleW(NULL); in DoEntry() local 417 HRSRC hRsrc = FindResourceW(hMod, Entry->File, (LPCWSTR)RT_RCDATA); in DoEntry() 418 HGLOBAL hGlobal = LoadResource(hMod, hRsrc); in DoEntry() 419 DWORD Size = SizeofResource(hMod, hRsrc); in DoEntry()
|
/reactos/dll/win32/oledlg/ |
H A D | insobjdlg.c | 593 HMODULE hMod; in UIINSERTOBJECTDLG_AddControl() local 596 hMod = LoadLibraryA(fn.lpstrFile); in UIINSERTOBJECTDLG_AddControl() 598 if (hMod) in UIINSERTOBJECTDLG_AddControl() 602 regproc = (DLLREGISTER) GetProcAddress(hMod, "DllRegisterServer"); in UIINSERTOBJECTDLG_AddControl() 612 FreeLibrary(hMod); in UIINSERTOBJECTDLG_AddControl()
|
/reactos/base/applications/hh/ |
H A D | main.c | 5 typedef int WINAPI DOWINMAIN(HMODULE hMod, LPSTR cmdline);
|
/reactos/dll/win32/shlwapi/ |
H A D | url.c | 2556 HRESULT WINAPI MLBuildResURLA(LPCSTR lpszLibName, HMODULE hMod, DWORD dwFlags, in MLBuildResURLA() argument 2571 hRet = MLBuildResURLW(lpszLibName ? szLibName : NULL, hMod, dwFlags, in MLBuildResURLA() 2584 HRESULT WINAPI MLBuildResURLW(LPCWSTR lpszLibName, HMODULE hMod, DWORD dwFlags, in MLBuildResURLW() argument 2591 TRACE("(%s,%p,0x%08x,%s,%p,%d)\n", debugstr_w(lpszLibName), hMod, dwFlags, in MLBuildResURLW() 2594 if (!lpszLibName || !hMod || hMod == INVALID_HANDLE_VALUE || !lpszRes || in MLBuildResURLW() 2603 hMod = MLLoadLibraryW(lpszLibName, hMod, dwFlags); in MLBuildResURLW() 2605 if (hMod) in MLBuildResURLW() 2610 len = GetModuleFileNameW(hMod, szBuff, sizeof(szBuff)/sizeof(WCHAR)); in MLBuildResURLW() 2631 MLFreeLibrary(hMod); in MLBuildResURLW()
|
/reactos/modules/rostests/apitests/zipfldr/ |
H A D | IDataObject.cpp | 55 HMODULE hMod = GetModuleHandleW(NULL); in extract_resource() local 56 HRSRC hRsrc = FindResourceW(hMod, ResourceName, MAKEINTRESOURCEW(RT_RCDATA)); in extract_resource() 61 HGLOBAL hGlobal = LoadResource(hMod, hRsrc); in extract_resource() 62 DWORD Size = SizeofResource(hMod, hRsrc); in extract_resource()
|
/reactos/dll/win32/winmm/ |
H A D | playsound.c | 199 static HMMIO PlaySound_GetMMIO(LPCWSTR pszSound, HMODULE hMod, DWORD fdwSound) in PlaySound_GetMMIO() argument 217 hRes = FindResourceW(hMod, pszSound, L"WAVE"); in PlaySound_GetMMIO() 218 hGlob = LoadResource(hMod, hRes); in PlaySound_GetMMIO()
|
/reactos/sdk/lib/drivers/wdf/shared/inc/primitives/um/ |
H A D | mxgeneralum.h | 319 HMODULE hMod; in MxGetSystemRoutineAddress() local 321 hMod = GetModuleHandleW(L"ntdll.dll"); in MxGetSystemRoutineAddress() 323 return GetProcAddress(hMod, FuncName); in MxGetSystemRoutineAddress()
|
/reactos/dll/win32/imm32/ |
H A D | imm.c | 23 static BOOL APIENTRY ImmInitializeGlobals(HMODULE hMod) in ImmInitializeGlobals() argument 28 if (hMod) in ImmInitializeGlobals() 29 ghImm32Inst = hMod; in ImmInitializeGlobals() 57 BOOL WINAPI ImmRegisterClient(PSHAREDINFO ptr, HINSTANCE hMod) in ImmRegisterClient() argument 61 return ImmInitializeGlobals(hMod); in ImmRegisterClient()
|
/reactos/dll/win32/shell32/wine/ |
H A D | control.c | 1248 DWORD WINAPI CallCPLEntry16(HMODULE hMod, FARPROC pFunc, DWORD dw3, DWORD dw4, DWORD dw5, DWORD dw6) in CallCPLEntry16() argument 1251 LRESULT WINAPI CallCPLEntry16(HINSTANCE hMod, FARPROC16 pFunc, HWND dw3, UINT dw4, LPARAM dw5, LPAR… 1254 FIXME("(%p, %p, %08x, %08x, %08x, %08x): stub.\n", hMod, pFunc, dw3, dw4, dw5, dw6);
|
/reactos/modules/rostests/apitests/apphelp/ |
H A D | db.cpp | 1449 HMODULE hMod = GetModuleHandleW(NULL); in extract_resource() local 1450 HRSRC hRsrc = FindResourceW(hMod, ResourceName, MAKEINTRESOURCEW(RT_RCDATA)); in extract_resource() 1455 HGLOBAL hGlobal = LoadResource(hMod, hRsrc); in extract_resource() 1456 DWORD Size = SizeofResource(hMod, hRsrc); in extract_resource()
|