DEVICE_POWER_DESCRIPTOR - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntddstor.h

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;

View the official Windows Driver Kit DDI reference
// winioctl.h

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;

View the official Win32 API reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ntddstor-_device_power_descriptor)

_DEVICE_POWER_DESCRIPTOR structure

Description

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

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

Reserved.

IdleTimeoutInMS

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

See also

IOCTL_STORAGE_QUERY_PROPERTY


Win32 API reference (ns-winioctl-device_power_descriptor)

DEVICE_POWER_DESCRIPTOR structure

Description

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

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.

See also

Disk Management Structures

IOCTL_STORAGE_QUERY_PROPERTY

STORAGE_PROPERTY_QUERY