Searched refs:hKernel32 (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython2/PC/ |
D | dl_nt.c | 49 HINSTANCE hKernel32 = GetModuleHandleW(L"kernel32.dll"); in _LoadActCtxPointers() local 50 if (hKernel32) in _LoadActCtxPointers() 51 pfnGetCurrentActCtx = (PFN_GETCURRENTACTCTX) GetProcAddress(hKernel32, "GetCurrentActCtx"); in _LoadActCtxPointers() 54 pfnActivateActCtx = (PFN_ACTIVATEACTCTX) GetProcAddress(hKernel32, "ActivateActCtx"); in _LoadActCtxPointers() 55 pfnDeactivateActCtx = (PFN_DEACTIVATEACTCTX) GetProcAddress(hKernel32, "DeactivateActCtx"); in _LoadActCtxPointers() 56 pfnAddRefActCtx = (PFN_ADDREFACTCTX) GetProcAddress(hKernel32, "AddRefActCtx"); in _LoadActCtxPointers() 57 pfnReleaseActCtx = (PFN_RELEASEACTCTX) GetProcAddress(hKernel32, "ReleaseActCtx"); in _LoadActCtxPointers()
|
/external/python/cpython3/PC/ |
D | dl_nt.c | 57 HINSTANCE hKernel32 = GetModuleHandleW(L"kernel32.dll"); in _LoadActCtxPointers() local 58 if (hKernel32) in _LoadActCtxPointers() 59 pfnGetCurrentActCtx = (PFN_GETCURRENTACTCTX) GetProcAddress(hKernel32, "GetCurrentActCtx"); in _LoadActCtxPointers() 62 pfnActivateActCtx = (PFN_ACTIVATEACTCTX) GetProcAddress(hKernel32, "ActivateActCtx"); in _LoadActCtxPointers() 63 pfnDeactivateActCtx = (PFN_DEACTIVATEACTCTX) GetProcAddress(hKernel32, "DeactivateActCtx"); in _LoadActCtxPointers() 64 pfnAddRefActCtx = (PFN_ADDREFACTCTX) GetProcAddress(hKernel32, "AddRefActCtx"); in _LoadActCtxPointers() 65 pfnReleaseActCtx = (PFN_RELEASEACTCTX) GetProcAddress(hKernel32, "ReleaseActCtx"); in _LoadActCtxPointers()
|
/external/python/cpython2/Modules/expat/ |
D | loadlibrary.c | 85 HMODULE hKernel32 = GetModuleHandle(TEXT("kernel32")); in _Expat_LoadLibrary() local 86 if(!hKernel32) in _Expat_LoadLibrary() 91 pLoadLibraryEx = (LOADLIBRARYEX_FN) GetProcAddress(hKernel32, LOADLIBARYEX); in _Expat_LoadLibrary() 106 else if(pLoadLibraryEx && GetProcAddress(hKernel32, "AddDllDirectory")) { in _Expat_LoadLibrary()
|
/external/curl/lib/ |
D | system_win32.c | 375 HMODULE hKernel32 = GetModuleHandle(TEXT("kernel32")); in Curl_load_library() local 376 if(!hKernel32) in Curl_load_library() 383 (GetProcAddress(hKernel32, LOADLIBARYEX))); in Curl_load_library() 398 else if(pLoadLibraryEx && GetProcAddress(hKernel32, "AddDllDirectory")) { in Curl_load_library()
|
/external/libusb/libusb/os/ |
D | poll_windows.c | 96 HMODULE hKernel32 = GetModuleHandleA("KERNEL32"); in setup_cancel_io() local 97 if (hKernel32 != NULL) { in setup_cancel_io() 99 GetProcAddress(hKernel32, "CancelIoEx"); in setup_cancel_io()
|
/external/python/cpython3/Tools/msi/bundle/bootstrap/ |
D | PythonBootstrapperApplication.cpp | 3014 HMODULE hKernel32 = GetModuleHandleW(L"kernel32"); in ValidateOperatingSystem() local 3015 if (hKernel32 && !GetProcAddress(hKernel32, "AddDllDirectory")) { in ValidateOperatingSystem() 3045 HMODULE hKernel32 = GetModuleHandleW(L"kernel32"); in ValidateOperatingSystem() local 3046 if (hKernel32 && !GetProcAddress(hKernel32, "AddDllDirectory")) { in ValidateOperatingSystem()
|
/external/python/cpython3/Python/ |
D | sysmodule.c | 1406 HANDLE hKernel32; in sys_getwindowsversion_impl() local 1438 hKernel32 = GetModuleHandleW(L"kernel32.dll"); in sys_getwindowsversion_impl() local 1440 if (hKernel32 && GetModuleFileNameW(hKernel32, kernel32_path, MAX_PATH) && in sys_getwindowsversion_impl()
|
/external/python/cpython3/Modules/ |
D | overlapped.c | 119 HINSTANCE hKernel32; in initialize_function_pointers() local 143 hKernel32 = GetModuleHandle("KERNEL32"); in initialize_function_pointers() local 144 *(FARPROC *)&Py_CancelIoEx = GetProcAddress(hKernel32, "CancelIoEx"); in initialize_function_pointers()
|
D | _winapi.c | 73 HINSTANCE hKernel32 = GetModuleHandle("KERNEL32"); in check_CancelIoEx() local 74 * (FARPROC *) &Py_CancelIoEx = GetProcAddress(hKernel32, in check_CancelIoEx()
|
D | posixmodule.c | 13457 HMODULE hKernel32; in os__add_dll_directory_impl() local 13466 if (!(hKernel32 = GetModuleHandleW(L"kernel32")) || in os__add_dll_directory_impl() 13468 hKernel32, "AddDllDirectory")) || in os__add_dll_directory_impl() 13498 HMODULE hKernel32; in os__remove_dll_directory_impl() local 13516 if (!(hKernel32 = GetModuleHandleW(L"kernel32")) || in os__remove_dll_directory_impl() 13518 hKernel32, "RemoveDllDirectory")) || in os__remove_dll_directory_impl()
|