Share via


DRV_POWER

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

**  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