DEVICE_DSM_PHYSICAL_ADDRESSES_OUTPUT - NtDoc

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

typedef struct _DEVICE_DSM_PHYSICAL_ADDRESSES_OUTPUT {
  ULONG                        Version;
  ULONG                        Flags;
  ULONG                        TotalNumberOfRanges;
  ULONG                        NumberOfRangesReturned;
  DEVICE_STORAGE_ADDRESS_RANGE Ranges[ANYSIZE_ARRAY];
} DEVICE_DSM_PHYSICAL_ADDRESSES_OUTPUT, *PDEVICE_DSM_PHYSICAL_ADDRESSES_OUTPUT;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

DEVICE_DSM_PHYSICAL_ADDRESSES_OUTPUT structure

Description

The DEVICE_DSM_PHYSICAL_ADDRESSES_OUTPUT structure stores physical address ranges that correspond with one or more logical block ranges.

Members

Version

Version of this structure. Set to sizeof(DEVICE_DSM_PHYSICAL_ADDRESSES_OUTPUT).

Flags

Reserved for future use; do not use.

TotalNumberOfRanges

Number of DEVICE_STORAGE_ADDRESS_RANGE structure(s) needed to satisfy a DeviceDsmAction_GetPhysicalAddresses request.

NumberOfRangesReturned

Number of physical address ranges returned in Ranges.

Ranges

Array of DEVICE_STORAGE_ADDRESS_RANGE structure(s) in which to return physical address ranges.

Remarks

The output block in the payload of an IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES request is formatted as a DEVICE_DSM_PHYSICAL_ADDRESSES_OUTPUT structure when the action is DeviceDsmAction_GetPhysicalAddresses. See DEVICE_DSM_ACTION Descriptions for more details about this action.

See also

DEVICE_DSM_ACTION Descriptions

DEVICE_STORAGE_ADDRESS_RANGE

IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES