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.

Requirements

**  Windows NT/2000:** Requires Windows NT 3.1 or later.
**  Windows 95/98:** Requires Windows 95 or later.
**  Header:** Declared in Mmsystem.h.

See Also

Installable Drivers, Installable Driver Messages