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
Return Value
Returns an
instance handle of the driver module if successful or NULL otherwise.