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.

QuickInfo

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