struktur STOR_UNIT_CONTROL_POWER (storport.h)

STOR_UNIT_CONTROL_POWER adalah struktur yang diarahkan oleh parameter Parameter ketika Storport memanggil rutinitas HwStorUnitControl miniport dengan ControlType dari ScsiUnitPower.

Sintaks

typedef struct _STOR_UNIT_CONTROL_POWER {
  PSTOR_ADDRESS           Address;
  STOR_POWER_ACTION       PowerAction;
  STOR_DEVICE_POWER_STATE PowerState;
} STOR_UNIT_CONTROL_POWER, *PSTOR_UNIT_CONTROL_POWER;

Anggota

Address

Alamat perangkat untuk pemberitahuan daya.

PowerAction

Nilai STOR_POWER_ACTION yang menunjukkan tindakan daya. Untuk transisi daya runtime, atur PowerAction ke StorPowerActionNone.

PowerState

Nilai STOR_DEVICE_POWER_STATE yang menunjukkan status daya saat ini. Ini adalah StorPowerDeviceD0 atau StorPowerDeviceD3 untuk status daya atau mati masing-masing.

Persyaratan

Persyaratan Nilai
Klien minimum yang didukung Windows 8
Header storport.h

Lihat juga

HwStorUnitControl