GetDriverModuleHandle function (mmiscapi.h)
Retrieves the instance handle of the module that contains the installable driver.
Syntax
HMODULE GetDriverModuleHandle(
[in] HDRVR hDriver
);
Parameters
[in] 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
Requirement | Value |
---|---|
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 |