#include <vxdldr.h>
HPEMODULE PELDR_GetModuleHandle(PSTR pFileName);
Gets the module handle to the given a file name. Uses C calling conventions.
Note It is not necessary to specify the full path of the executable. Module information is stored by the filename (8.3 format).