DRV_CLOSE message

Directs the driver to close the given instance. If no other instances are open, the driver should prepare for subsequent release from memory.

Parameters

dwDriverId

Identifier of the installable driver. This is the same value previously returned by the driver from the DRV_OPEN message.

hdrvr

Handle of the installable driver instance.

lParam1

32-bit value specified as the lParam1 parameter in a call to the DriverClose function.

lParam2

32-bit value specified as the lParam2 parameter in a call to the DriverClose function.

Return Value

Returns nonzero if successful or zero otherwise.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Mmsystem.h (include Windows.h)

See also

Installable Drivers

Installable Driver Messages