GetProcAddress v0.1.0
Retrieves the address of an exported DLL symbol.
Package: Windows
Microsoft documentation: GetProcAddress
Signature
func GetProcAddress(
module_arg: *opaque,
procName: *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