Share via


DrvGetModuleHandle

Retrieves the instance handle of the module that contains the installable driver. This function is provided for compatibility with previous versions of Windows.

WINMMAPI HMODULE WINAPI DrvGetModuleHandle(HDRVR hDriver); 
 

Parameters

hDriver

Handle of the installable driver instance. The handle must have been previously created by using the OpenDriver function.

Return Value

Returns an instance handle of the driver module if successful or NULL otherwise.

Requirements

**  Windows NT/2000:** Requires Windows NT 3.1 or later.
**  Windows 95/98:** Requires Windows 95 or later.
**  Header:** Declared in Mmsystem.h.
**  Library:** Use Winmm.lib.

See Also

Installable Drivers, Installable Driver Functions