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.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in mmsystem.h.
  Import Library: Use winmm.lib.