Home
last modified time | relevance | path

Searched refs:HMODULE (Results 1 – 25 of 138) sorted by relevance

123456

/third_party/lzma/CPP/Windows/
DDLL.h9 typedef void * HMODULE; typedef
12 void *GetProcAddress(HMODULE module, LPCSTR procName);
34 HMODULE _module;
52 HMODULE Get_HMODULE() const { return _module; } in Get_HMODULE()
57 void Attach(HMODULE m) in Attach()
62 HMODULE Detach() in Detach()
64 const HMODULE m = _module; in Detach()
80 HMODULE _module;
87 HMODULE Get_HMODULE() const { return _module; }
DMemoryLock.cpp36 const HMODULE hModule = ::LoadLibrary(TEXT("advapi32.dll")); in EnablePrivilege()
97 const HMODULE ntdll = ::GetModuleHandleW(L"ntdll.dll"); in Get_LargePages_RiskLevel()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DDynamicLibrary.inc27 FreeLibrary(HMODULE(Handle));
48 HMODULE Handle = LoadLibraryW(FileUnicode.data());
68 FreeLibrary((HMODULE)Handle);
71 static bool GetProcessModules(HANDLE H, DWORD &Bytes, HMODULE *Data = nullptr) {
92 return (void *)uintptr_t(GetProcAddress((HMODULE)Handle, Symbol));
114 HMODULE Self = HMODULE(GetCurrentProcess());
122 std::vector<HMODULE> Handles;
124 assert(Bytes && ((Bytes % sizeof(HMODULE)) == 0) &&
126 Handles.resize(Bytes / sizeof(HMODULE));
129 } while (Bytes != (Handles.size() * sizeof(HMODULE)));
[all …]
/third_party/curl/lib/
Dsystem_win32.c44 static HMODULE s_hIpHlpApiDll = NULL;
56 HMODULE ws2_32Dll; in Curl_win32_init()
178 typedef HMODULE (APIENTRY *LOADLIBRARYEX_FN)(LPCTSTR, HANDLE, DWORD);
205 HMODULE Curl_load_library(LPCTSTR filename) in Curl_load_library()
208 HMODULE hModule = NULL; in Curl_load_library()
212 HMODULE hKernel32 = GetModuleHandle(TEXT("kernel32")); in Curl_load_library()
/third_party/node/deps/uv/src/win/
Dwinapi.c52 HMODULE ntdll_module; in uv__winapi_init()
53 HMODULE powrprof_module; in uv__winapi_init()
54 HMODULE user32_module; in uv__winapi_init()
55 HMODULE kernel32_module; in uv__winapi_init()
56 HMODULE ws2_32_module; in uv__winapi_init()
/third_party/libuv/src/win/
Dwinapi.c52 HMODULE ntdll_module; in uv__winapi_init()
53 HMODULE powrprof_module; in uv__winapi_init()
54 HMODULE user32_module; in uv__winapi_init()
55 HMODULE kernel32_module; in uv__winapi_init()
56 HMODULE ws2_32_module; in uv__winapi_init()
/third_party/node/deps/openssl/openssl/ms/
Duplink.c36 static HMODULE volatile apphandle = NULL; in OPENSSL_Uplink()
64 apphandle = (HMODULE) - 1; in OPENSSL_Uplink()
70 if ((h = apphandle) == (HMODULE) - 1) /* revalidate */ in OPENSSL_Uplink()
78 apphandle = (HMODULE) - 1; in OPENSSL_Uplink()
84 apphandle = (HMODULE) - 1; in OPENSSL_Uplink()
/third_party/openssl/ms/
Duplink.c36 static HMODULE volatile apphandle = NULL; in OPENSSL_Uplink()
64 apphandle = (HMODULE) - 1; in OPENSSL_Uplink()
70 if ((h = apphandle) == (HMODULE) - 1) /* revalidate */ in OPENSSL_Uplink()
78 apphandle = (HMODULE) - 1; in OPENSSL_Uplink()
84 apphandle = (HMODULE) - 1; in OPENSSL_Uplink()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_validator.cpp20 HMODULE dxil_mod;
21 HMODULE dxcompiler_mod;
34 static HMODULE
38 HMODULE mod = LoadLibraryA("DXIL.dll"); in load_dxil_mod()
70 create_dxc_validator(HMODULE dxil_mod) in create_dxc_validator()
109 get_dll_version(HMODULE mod) in get_dll_version()
148 get_filtered_validator_version(HMODULE mod, enum dxil_validator_version raw) in get_filtered_validator_version()
/third_party/skia/third_party/externals/swiftshader/tests/VulkanUnitTests/
DDriver.cpp59 HMODULE libvulkan = LoadLibraryA("swiftshader\\libvulkan.dll"); in loadSwiftShader()
60 EXPECT_NE((HMODULE)NULL, libvulkan); in loadSwiftShader()
151 FreeLibrary((HMODULE)dll); in unload()
197 return GetProcAddress((HMODULE)dll, name); in lookup()
/third_party/rust/crates/libloading/src/os/windows/
Dmod.rs7 pub(super) enum HMODULE {} enum
29 pub(super) use self::winapi::shared::minwindef::{WORD, DWORD, HMODULE, FARPROC};
59 pub struct Library(HMODULE);
119 let mut handle: HMODULE = std::ptr::null_mut(); in this()
152 let mut handle: HMODULE = std::ptr::null_mut(); in open_already_loaded()
258 pub fn into_raw(self) -> HMODULE { in into_raw() argument
271 pub unsafe fn from_raw(handle: HMODULE) -> Library { in from_raw()
/third_party/skia/src/gpu/gl/win/
DGrGLMakeNativeInterface_win.cpp34 struct FreeModule { void operator()(HMODULE m) { (void)FreeLibrary(m); } }; in GrGLMakeNativeInterface()
35 std::unique_ptr<typename std::remove_pointer<HMODULE>::type, FreeModule> module( in GrGLMakeNativeInterface()
42 if (GrGLFuncPtr p = (GrGLFuncPtr)GetProcAddress((HMODULE)ctx, name)) { in GrGLMakeNativeInterface()
/third_party/skia/third_party/externals/swiftshader/src/Common/
DSharedLibrary.hpp78 HMODULE module = NULL; in getLibraryHandle()
85 FreeLibrary((HMODULE)library); in freeLibrary()
90 return (void*)GetProcAddress((HMODULE)library, name); in getProcAddress()
/third_party/node/tools/
Dgen_node_def.cc31 RelativeAddress(HMODULE handle) noexcept in RelativeAddress()
34 RelativeAddress(HMODULE handle, uintptr_t offset) noexcept in RelativeAddress()
67 HMODULE library;
71 Library(HMODULE library) : library(library) { in Library()
/third_party/skia/third_party/externals/swiftshader/src/System/
DSharedLibrary.hpp77 HMODULE module = NULL; in getLibraryHandle()
84 FreeLibrary((HMODULE)library); in freeLibrary()
89 return (void *)GetProcAddress((HMODULE)library, name); in getProcAddress()
/third_party/libsnd/tests/
Dwin32_ordinal_test.c57 test_ordinal (HMODULE hmod, const char * func_name, int ordinal) in test_ordinal()
89 HMODULE hmod = NULL ; in win32_ordinal_test()
106 if ((hmod = (HMODULE) LoadLibrary (buffer)) != NULL) in win32_ordinal_test()
/third_party/ffmpeg/compat/
Dw32dlfcn.h31 static inline wchar_t *get_module_filename(HMODULE module) in get_module_filename()
64 static inline HMODULE win32_dlopen(const char *name) in win32_dlopen()
67 HMODULE module = NULL; in win32_dlopen()
/third_party/skia/third_party/externals/angle2/src/common/
Dsystem_utils_win.cpp22 std::string GetPath(HMODULE module) in GetPath()
30 std::string GetDirectory(HMODULE module) in GetDirectory()
156 HMODULE module = nullptr; in GetModuleDirectory()
/third_party/skia/src/ports/
DSkOSLibrary_win.cpp18 return reinterpret_cast<void*>(::GetProcAddress((HMODULE)library, functionName)); in SkGetProcedureAddress()
22 return FreeLibrary((HMODULE)library); in SkFreeDynamicLibrary()
/third_party/mesa3d/src/util/
Du_dl.c63 return (util_dl_proc)GetProcAddress((HMODULE)library, procname); in util_dl_get_proc_address()
76 FreeLibrary((HMODULE)library); in util_dl_close()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/
DDisplayWGL.h123 HMODULE mOpenGLModule;
139 HMODULE mDxgiModule;
140 HMODULE mD3d11Module;
DFunctionsWGL.cpp19 static void GetWGLProcAddress(HMODULE glModule, in GetWGLProcAddress()
39 static void GetWGLExtensionProcAddress(HMODULE glModule, in GetWGLExtensionProcAddress()
103 void FunctionsWGL::initialize(HMODULE glModule, HDC context) in initialize()
/third_party/lame/ACM/
DACM.h63 ACM( HMODULE hModule );
91 HMODULE my_hModule;
/third_party/skia/third_party/externals/dawn/src/common/
DDynamicLib.cpp76 FreeLibrary(static_cast<HMODULE>(mHandle)); in Close()
90 proc = reinterpret_cast<void*>(GetProcAddress(static_cast<HMODULE>(mHandle), procName.c_str())); in GetProc()
/third_party/openh264/codec/console/dec/inc/
Dd3d9_utils.h81 HMODULE m_hDll;
111 HMODULE m_hDll;

123456