DEVICE_POWER_DESCRIPTOR structure (winioctl.h)

The DEVICE_POWER_DESCRIPTOR structure describes the power capabilities of a storage device.

Syntax

typedef struct _DEVICE_POWER_DESCRIPTOR {
  DWORD   Version;
  DWORD   Size;
  BOOLEAN DeviceAttentionSupported;
  BOOLEAN AsynchronousNotificationSupported;
  BOOLEAN IdlePowerManagementEnabled;
  BOOLEAN D3ColdEnabled;
  BOOLEAN D3ColdSupported;
  BOOLEAN NoVerifyDuringIdlePower;
  BYTE    Reserved[2];
  DWORD   IdleTimeoutInMS;
} DEVICE_POWER_DESCRIPTOR, *PDEVICE_POWER_DESCRIPTOR;

Members

Version

Contains the size of this structure, in bytes. The value of this member will change as members are added to the structure.

Size

Specifies the total size of the data returned, in bytes. This may include data that follows this structure.

DeviceAttentionSupported

True if device attention is supported. Otherwise, false.

AsynchronousNotificationSupported

True if the device supports asynchronous notifications, delivered via IOCTL_STORAGE_EVENT_NOTIFICATION. Otherwise, false.

IdlePowerManagementEnabled

True if the device has been registered for runtime idle power management. Otherwise, false.

D3ColdEnabled

True if the device will be powered off when put into D3 power state. Otherwise, false.

D3ColdSupported

True if the platform supports D3ColdEnabled for this device. Otherwise, false.

NoVerifyDuringIdlePower

Reserved

Reserved.

IdleTimeoutInMS

The idle timeout value in milliseconds. This member is ignored unless IdlePowerManagementEnabled is true.

Requirements

   
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header winioctl.h (include Windows.h)

See also

Disk Management Structures

IOCTL_STORAGE_QUERY_PROPERTY

STORAGE_PROPERTY_QUERY