_PELDR_GetModuleHandle


#include <vxdldr.h>

HPEMODULE PELDR_GetModuleHandle(PSTR pFileName);

Gets the module handle to the given a file name. Uses C calling conventions.

pFileName

A pointer to a null terminated string containing the file name of the module.

Note that it is not necessary to specify the full path of the executable. Module information is stored by the filename (8.3 format).