Home
last modified time | relevance | path

Searched refs:hKernel32 (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython2/PC/
Ddl_nt.c49 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/
Ddl_nt.c57 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/
Dloadlibrary.c85 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/
Dsystem_win32.c375 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/
Dpoll_windows.c96 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/
DPythonBootstrapperApplication.cpp3014 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/
Dsysmodule.c1406 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/
Doverlapped.c119 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.c73 HINSTANCE hKernel32 = GetModuleHandle("KERNEL32"); in check_CancelIoEx() local
74 * (FARPROC *) &Py_CancelIoEx = GetProcAddress(hKernel32, in check_CancelIoEx()
Dposixmodule.c13457 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()