Gets a handle to the module specified by the enumeration user can program upto 20 values from MODULE_USER to MODULE_USER+19 for there own dlls loaded by origin
HINSTANCE GetModuleHandle( int nModuleID = MODULE_ORIGIN )
If the function succeeds, the return value is a handle to the specified module.
If the function fails, the return value is NULL.
The returned handle is not global or inheritable. It cannot be duplicated or used by another process.
If lpModuleName does not include a path and there is more than one loaded module with the same base name and extension, you cannot predict which module handle will be returned.
LoadBitmap, LoadIcon, LoadImage