GetModuleHandle

Syntax

HANDLE GetModuleHandle(lpModuleName)

This function retrieves the module handle of the specified module.

Parameter Type/Description  

lpModuleName LPSTR Points to a null-terminated character string that specifies the module.  

Return Value

The return value identifies the module if the function is successful. Otherwise, it is NULL.