Group: Dynamic-Link Library - Library: kernel32
Retrieves the address of an exported function or variable from the specified dynamic-link library (DLL).
Retrieving a handle to DLL and address of an exported function in it
FARPROC GetProcAddress(
HMODULE hModule, // handle to DLL module
LPCSTR lpProcName // function name
);
DECLARE INTEGER GetProcAddress IN kernel32;
INTEGER hModule,;
STRING lpProcName
hModule [in] Handle to the DLL module that contains the function or variable.
lpProcName [in] Pointer to a null-terminated string containing the function or variable name, or the function"s ordinal value. If this parameter is an ordinal value, it must be in the low-order word; the high-order word must be zero.
If the function succeeds, the return value is the address of the exported function or variable.