GetProcAddress v0.1.0

Source
Retrieves the address of an exported DLL symbol.

Package: Windows

Microsoft documentation: GetProcAddress

Signature

func GetProcAddress(
    module_arg: *opaque,
    procName: *char8
) -> *opaque;

Parameters

NameDescription
module_argLoaded module handle.
procNameNull-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