DrvGetModuleHandle function

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

Syntax

HMODULE 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

   
Minimum supported client Windows 2000 Professional [desktop apps only],Installable Drivers, Installable Driver Functions
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header mmiscapi.h (include Mmiscapi.h, Windows.h)
Library Winmm.lib
DLL Winmm.dll

See Also

Installable Driver Functions

Installable Drivers