GetProcAddress
Retrieves the address of an exported DLL symbol.
Module: Windows
Microsoft documentation: GetProcAddress
Signature
rux
func GetProcAddress(module_arg: *opaque,
procName: *const char8) -> *opaque;Parameters
| Name | Description |
|---|---|
module_arg | Loaded module handle. |
procName | Null-terminated, case-sensitive export name. |
Returns
*opaque — the export address, or null when not found. Cast it to a function pointer with the exact native signature and calling convention before use. The address becomes invalid when its module is unloaded.
See also
LoadLibraryA— load a moduleFreeLibrary— release a module reference