DRV_POWER message

Notifies the driver that power to the device is being turned on or off.

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

Returns nonzero if successful or zero otherwise.

Remarks

The lParam1 and lParam2 parameters are not used.

Requirements

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

 

 

Show: