_SHELL_GetProcAddress
include shell.inc
VxDcall SHELL_GetProcAddress, <Handle, <OFFSET32 lpszProcName>>
mov [ProcAddress], eax
Retrieves the address of a function exported by the given 16-bit library. Uses C calling conventions.
- Returns the 16:16 address of the function if successful. Otherwise, returns zero.
- Handle
- Instance handle returned from a previous call to the SHELL_LoadLibrary service.
- lpszProcName
- Address of a null-terminated string specifying the name of the function or the ordinal for the function. If an ordinal is given, the ordinal must be in the low 16 bits; the high 16 bits must be zero.
This service may be called only during application time. Failure to observe this restriction may crash the system.