DEVICE_POWER_DESCRIPTOR structure (ntddstor.h)

Used in conjunction with the IOCTL_STORAGE_QUERY_PROPERTY control code to describes the power capabilities of a storage device.

Syntax

typedef struct _DEVICE_POWER_DESCRIPTOR {
  ULONG   Version;
  ULONG   Size;
  BOOLEAN DeviceAttentionSupported;
  BOOLEAN AsynchronousNotificationSupported;
  BOOLEAN IdlePowerManagementEnabled;
  BOOLEAN D3ColdEnabled;
  BOOLEAN D3ColdSupported;
  BOOLEAN NoVerifyDuringIdlePower;
  UCHAR   Reserved[2];
  ULONG   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 the D3 power state. Otherwise, False

D3ColdSupported

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

NoVerifyDuringIdlePower

True if the device requires no verification during idle power transitions. Otherwise, False

Reserved[2]

Reserved.

IdleTimeoutInMS

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

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Header ntddstor.h (include Ntddstor.h)

See also

IOCTL_STORAGE_QUERY_PROPERTY