_PELDR_GetProcAddress


#include vxdldr.h

PVOID CDECL PELDR_GetProcAddress(HPEMODULE hModule, 
    PVOID FuncName, PHLIST phList);

Returns the address of the specified exported dynamic-link library (DLL) function.

hModule

A handle to a module or pointer to a null-terminated string containing the module name. If this parameter is a handle to a module it must be a valid handle returned by _PELDR_LoadModule or _PELDR_GetModuleHandle.

pFuncName

Address of a null-terminated string containing the function name or specifies 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.

phList

Address of a list handle of export tables. This parameter is specified when a client restricts the export table list. If NULL, the global export table list is used.