DRV_EXITSESSION

Notifies the driver that Windows is preparing to exit. The driver should prepare for termination.

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.

Return Value

No return value.

Remarks

The lParam1 and lParam2 parameters are not used.

QuickInfo

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