DRV_EXITSESSION message

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.

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