Home
last modified time | relevance | path

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

/third_party/boost/libs/log/src/windows/
Dlight_rw_mutex.cpp113 boost::winapi::HMODULE_ hKernel32 = boost::winapi::GetModuleHandleW(L"kernel32.dll");
114 if (hKernel32)
117 (init_fun_t)boost::winapi::get_proc_address(hKernel32, "InitializeSRWLock");
121 … (lock_exclusive_fun_t)boost::winapi::get_proc_address(hKernel32, "AcquireSRWLockExclusive");
125 … (unlock_exclusive_fun_t)boost::winapi::get_proc_address(hKernel32, "ReleaseSRWLockExclusive");
129 … (lock_shared_fun_t)boost::winapi::get_proc_address(hKernel32, "AcquireSRWLockShared");
133 … (unlock_shared_fun_t)boost::winapi::get_proc_address(hKernel32, "ReleaseSRWLockShared");
/third_party/boost/libs/log/src/
Donce_block.cpp282 boost::winapi::HMODULE_ hKernel32 = boost::winapi::GetModuleHandleW(L"kernel32.dll");
283 if (hKernel32)
286 …(once_block_impl_nt6::InitializeSRWLock_t)boost::winapi::get_proc_address(hKernel32, "InitializeSR…
290 …ock_impl_nt6::AcquireSRWLockExclusive_t)boost::winapi::get_proc_address(hKernel32, "AcquireSRWLock…
294 …ock_impl_nt6::ReleaseSRWLockExclusive_t)boost::winapi::get_proc_address(hKernel32, "ReleaseSRWLock…
298 …impl_nt6::InitializeConditionVariable_t)boost::winapi::get_proc_address(hKernel32, "InitializeCond…
302 …k_impl_nt6::SleepConditionVariableSRW_t)boost::winapi::get_proc_address(hKernel32, "SleepCondition…
306 …ck_impl_nt6::WakeAllConditionVariable_t)boost::winapi::get_proc_address(hKernel32, "WakeAllConditi…
Dtimestamp.cpp120 boost::winapi::HMODULE_ hKernel32 = boost::winapi::GetModuleHandleW(L"kernel32.dll");
121 if (hKernel32)
123 …get_tick_count_t p = (get_tick_count_t)boost::winapi::get_proc_address(hKernel32, "GetTickCount64"…
Ddump.cpp162 … boost::winapi::HMODULE_ hKernel32 = boost::winapi::GetModuleHandleW(L"kernel32.dll");
163 if (hKernel32)
166 …ures = (get_enabled_extended_features_t)boost::winapi::get_proc_address(hKernel32, "GetEnabledExte…
/third_party/curl/lib/
Dsystem_win32.c179 HMODULE hKernel32 = GetModuleHandle(TEXT("kernel32")); in Curl_load_library() local
180 if(!hKernel32) in Curl_load_library()
187 (GetProcAddress(hKernel32, LOADLIBARYEX))); in Curl_load_library()
202 else if(pLoadLibraryEx && GetProcAddress(hKernel32, "AddDllDirectory")) { in Curl_load_library()
/third_party/boost/libs/thread/src/win32/
Dthread_primitives.cpp93 boost::winapi::HMODULE_ hKernel32 = boost::winapi::GetModuleHandleW(L"kernel32.dll");
94 if (hKernel32)
110 …detail::win32::detail::gettickcount64_t)boost::winapi::get_proc_address(hKernel32, "GetTickCount64…
/third_party/python/Modules/
Doverlapped.c162 HINSTANCE hKernel32; in initialize_function_pointers() local
186 hKernel32 = GetModuleHandle("KERNEL32"); in initialize_function_pointers() local
187 *(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.c14506 HMODULE hKernel32; in os__add_dll_directory_impl() local
14519 if (!(hKernel32 = GetModuleHandleW(L"kernel32")) || in os__add_dll_directory_impl()
14521 hKernel32, "AddDllDirectory")) || in os__add_dll_directory_impl()
14551 HMODULE hKernel32; in os__remove_dll_directory_impl() local
14569 if (!(hKernel32 = GetModuleHandleW(L"kernel32")) || in os__remove_dll_directory_impl()
14571 hKernel32, "RemoveDllDirectory")) || in os__remove_dll_directory_impl()
/third_party/python/Python/
Dsysmodule.c1500 HANDLE hKernel32; in sys_getwindowsversion_impl() local
1532 hKernel32 = GetModuleHandleW(L"kernel32.dll"); in sys_getwindowsversion_impl() local
1534 if (hKernel32 && GetModuleFileNameW(hKernel32, kernel32_path, MAX_PATH) && in sys_getwindowsversion_impl()