SRB_CHANGE_POWER_STATE

The class driver sends this request to signal to the minidriver that it should reset its power state. pSrb->DeviceState specifies the new power state. See HW_STREAM_REQUEST_BLOCK.

Return Value

The minidriver should set one of the following as the status in the SRB:

STATUS_SUCCESS

Indicates successful completion of the command.

STATUS_NOT_IMPLEMENTED

Indicates that the function is not supported by the minidriver.

STATUS_IO_DEVICE_ERROR

Indicates that a hardware failure occurred and low power cannot be invoked.

Comments

If the minidriver needs to save or restore device-specific data it should do so when processing an SRB_CHANGE_POWER_STATE request.

For more information about power states, see Managing Power for Individual Devices.

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft