public class LibLoaderAPI extends Object
Constructor and Description |
---|
LibLoaderAPI() |
Modifier and Type | Method and Description |
---|---|
static int |
FreeLibrary(WinBase.HMODULE hLibModule)
Frees the loaded dynamic-link library (DLL) module.
|
static int |
GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS()
The lpModuleName parameter is an address in the module.
|
static int |
GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT()
The reference count for the module is not incremented.
|
static int |
GetModuleFileNameA(WinBase.HMODULE hModule,
org.graalvm.nativeimage.c.type.CCharPointer lpFilename,
int nSize)
Retrieves the fully qualified path of the file that contains the specified module.
|
static int |
GetModuleFileNameW(WinBase.HMODULE hModule,
LibC.WCharPointer lpFilename,
int nSize)
Retrieves the fully qualified path of the file that contains the specified module.
|
static WinBase.HMODULE |
GetModuleHandleA(org.graalvm.nativeimage.c.type.CCharPointer lpModuleName)
Retrieves a module handle for the specified module.
|
static int |
GetModuleHandleExA(int dwFlags,
org.graalvm.nativeimage.c.type.CCharPointer lpModuleName,
WinBase.HMODULEPointer phModule)
Retrieves a module handle for the specified module.
|
static org.graalvm.word.PointerBase |
GetProcAddress(WinBase.HMODULE hModule,
org.graalvm.nativeimage.c.type.CCharPointer lpProcName)
Retrieves the address of an exported function or variable from the specified module.
|
static WinBase.HMODULE |
LoadLibraryA(org.graalvm.nativeimage.c.type.CCharPointer lpLibFileName)
Loads the specified module into the address space of the calling process.
|
public static int FreeLibrary(WinBase.HMODULE hLibModule)
public static int GetModuleFileNameA(WinBase.HMODULE hModule, org.graalvm.nativeimage.c.type.CCharPointer lpFilename, int nSize)
public static int GetModuleFileNameW(WinBase.HMODULE hModule, LibC.WCharPointer lpFilename, int nSize)
public static WinBase.HMODULE GetModuleHandleA(org.graalvm.nativeimage.c.type.CCharPointer lpModuleName)
public static int GetModuleHandleExA(int dwFlags, org.graalvm.nativeimage.c.type.CCharPointer lpModuleName, WinBase.HMODULEPointer phModule)
public static int GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS()
public static int GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT()
public static org.graalvm.word.PointerBase GetProcAddress(WinBase.HMODULE hModule, org.graalvm.nativeimage.c.type.CCharPointer lpProcName)
public static WinBase.HMODULE LoadLibraryA(org.graalvm.nativeimage.c.type.CCharPointer lpLibFileName)