Bewerken

Delen via


DEVICE_DSM_PHYSICAL_ADDRESSES_OUTPUT structure (ntddstor.h)

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

Syntax

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;

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[ANYSIZE_ARRAY]

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.

Requirements

Requirement Value
Header ntddstor.h

See also

DEVICE_DSM_ACTION Descriptions

DEVICE_STORAGE_ADDRESS_RANGE

IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES