DRV_CLOSE

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.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in mmsystem.h.