DEVICE_DATA_SET_RANGE structure (ntddstor.h)

The DEVICE_DSM_RANGE (or DEVICE_DATA_SET_RANGE) structure specifies a data set range for the attributes for a device.

A block of data set ranges, if any, is specified in the payload of an IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES request.

Syntax

typedef struct _DEVICE_DATA_SET_RANGE {
  LONGLONG  StartingOffset;
  ULONGLONG LengthInBytes;
} DEVICE_DATA_SET_RANGE, *PDEVICE_DATA_SET_RANGE, DEVICE_DSM_RANGE, *PDEVICE_DSM_RANGE;

Members

StartingOffset

Contains the starting offset, in bytes, of the data set range. The offset value must be block aligned.

LengthInBytes

Contains the length, in bytes, of the data set range. The length value must be block aligned.

Remarks

See Data Set Management Overview for more information about processing DSM actions that involve data set ranges.

Requirements

Requirement Value
Header ntddstor.h (include Ntddstor.h)

See also

Data Set Management Overview

DEVICE_DSM_INPUT

IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES