Share via


GetDriverModuleHandle

Retrieves the instance handle of the module that contains the installable driver.

HMODULE GetDriverModuleHandle(HDRVR hdrvr);
 

Parameters

hdrvr

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