GetModuleHandleExFlags Enumeration
Namespace: DevCase.Win32.EnumsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[FlagsAttribute]
public enum GetModuleHandleExFlags
<FlagsAttribute>
Public Enumeration GetModuleHandleExFlags
Dim instance As GetModuleHandleExFlags
[FlagsAttribute]
public enum class GetModuleHandleExFlags
[<FlagsAttribute>]
type GetModuleHandleExFlags
No code example is currently available or this language may not be supported.
Pin |
1 |
The module stays loaded until the process is terminated, no matter how many times FreeLibrary is called
This flag cannot be combined with UnchangedReferenceCount flag.
|
UnchangedReferenceCount |
2 |
The reference count for the module is not incremented.
This flag is equivalent to the behavior of calling GetModuleHandle(String).
This flag cannot be combined with Pin flag.
Do not pass the retrieved module handle to the FreeLibrary(SafeModuleHandle) function;
doing so can cause the DLL to be unmapped prematurely.
|
FromAddress |
4 |
The moduleName parameter of GetModuleHandleEx(GetModuleHandleExFlags, String, IntPtr) function is an address in the module.
|