HMODULE
HMODULE is a Windows API type that represents a handle to a loaded module within a process. A module refers to a PE file that has been loaded into the process address space, typically a Dynamic Link Library (DLL) or an executable (EXE). The handle is obtained when a module is loaded via LoadLibrary, LoadLibraryEx, or retrieved with GetModuleHandle or GetModuleHandleEx, and it is used to perform various module-related operations.
Key uses of an HMODULE include retrieving exported symbols and module information. GetProcAddress takes an HMODULE
Lifetime and reference counting are important for HMODULE. Modules are kept loaded while their reference count
Notes: GetModuleHandle(NULL) returns a handle to the executable module of the calling process. HMODULE is an