#include <vxdldr.h> LRESULT CDECL PELDR_FreeModule(HPEMODULE hModule, PHLIST phList);
Decrements usage count of given module and frees the module when usage count reaches zero.
hModule
A handle to a module. This parameter must be a valid handle returned by _PELDR_LoadModule or _PELDR_GetModuleHandle.
phList
A pointer to 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.