Home
last modified time | relevance | path

Searched refs:hKernel32 (Results 1 – 9 of 9) 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/expat/lib/
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.c275 HMODULE hKernel32 = GetModuleHandle(TEXT("kernel32")); in Curl_load_library() local
276 if(!hKernel32) in Curl_load_library()
281 pLoadLibraryEx = (LOADLIBRARYEX_FN) GetProcAddress(hKernel32, LOADLIBARYEX); in Curl_load_library()
296 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/Modules/
Doverlapped.c105 HINSTANCE hKernel32; in initialize_function_pointers() local
127 hKernel32 = GetModuleHandle("KERNEL32"); in initialize_function_pointers()
128 *(FARPROC *)&Py_CancelIoEx = GetProcAddress(hKernel32, "CancelIoEx"); in initialize_function_pointers()
D_winapi.c75 HINSTANCE hKernel32 = GetModuleHandle("KERNEL32"); in check_CancelIoEx() local
76 * (FARPROC *) &Py_CancelIoEx = GetProcAddress(hKernel32, in check_CancelIoEx()
Dposixmodule.c7131 HINSTANCE hKernel32; in check_CreateSymbolicLink() local
7135 hKernel32 = GetModuleHandleW(L"KERNEL32"); in check_CreateSymbolicLink()
7136 *(FARPROC*)&Py_CreateSymbolicLinkW = GetProcAddress(hKernel32, in check_CreateSymbolicLink()
/external/python/cpython3/Python/
Dsysmodule.c942 HANDLE hKernel32; in sys_getwindowsversion() local
973 hKernel32 = GetModuleHandleW(L"kernel32.dll"); in sys_getwindowsversion()
974 if (hKernel32 && GetModuleFileNameW(hKernel32, kernel32_path, MAX_PATH) && in sys_getwindowsversion()