다음을 통해 공유


STOR_POWER_ACTION 열거형(storport.h)

STOR_POWER_ACTION 열거형은 컴퓨터에서 발생할 수 있는 시스템 전원 작업을 식별합니다.

통사론

typedef enum {
  StorPowerActionNone,
  StorPowerActionReserved,
  StorPowerActionSleep,
  StorPowerActionHibernate,
  StorPowerActionShutdown,
  StorPowerActionShutdownReset,
  StorPowerActionShutdownOff,
  StorPowerActionWarmEject
} STOR_POWER_ACTION, *PSTOR_POWER_ACTION;

상수

 
StorPowerActionNone
전원 작업이 수행되지 않습니다.
StorPowerActionReserved
시스템 사용을 위해 예약되어 있습니다.
StorPowerActionSleep
컴퓨터가 시스템 절전 모드(S1, S2 또는 S3) 상태.
StorPowerActionHibernate
컴퓨터가 최대 절전 모드(S4) 상태.
StorPowerActionShutdown
컴퓨터가 종료(S5) 상태로 들어가고 있습니다. 모든 디바이스가 꺼진 상태(D3)를 입력한 후에는 관리자가 전원 단추를 누를 때까지 컴퓨터의 전원이 켜진 상태로 유지됩니다.
StorPowerActionShutdownReset
컴퓨터가 종료(S5) 상태로 들어가고 있습니다. 모든 디바이스가 꺼진 상태(D3) 상태가 되면 컴퓨터가 자동으로 전원을 끄고 즉시 다시 시작하여 작동(S0) 상태로 돌아갑니다.
StorPowerActionShutdownOff
컴퓨터가 종료(S5) 상태로 들어가고 있습니다. 모든 디바이스가 꺼진 상태(D3)를 입력하면 컴퓨터가 자동으로 전원을 끕니다.
StorPowerActionWarmEject
컴퓨터가 ACPI 호환 도크 디바이스에서 배출되고 있습니다. 일반적으로 컴퓨터의 전원 상태는 변경되지 않습니다.

발언

단위의 경우 Storport는 STOR_UNIT_CONTROL_POWER 구조의 STOR_POWER_ACTION 설정합니다.

어댑터의 경우 Storport는 STOR_ADAPTER_CONTROL_POWER 구조에서 STOR_POWER_ACTION 설정합니다.

요구 사항

요구
지원되는 최소 클라이언트 Windows 8
헤더 storport.h

참고 항목

HwStorAdapterControl

HwStorUnitControl