PE_getProcAddress

Gets a function address from a Portable Binary DLL

Declaration

void * PEAPI PE_getProcAddress(
    PE_MODULE *hModule,
    const char *szProcName)

Prototype In

drvlib/peloader.h

Parameters

hModule

Handle to a loaded PE DLL library

szProcName

Name of the function to get the address of

 

Return Value

Pointer to the function, or NULL on failure.

Description

This function searches for the named, exported function in a loaded PE DLL library, and returns the address of the function. If the function is not found in the library, this function return NULL.

See Also

PE_loadLibrary, PE_freeLibrary

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com