DEVICE_DATA_SET_RANGE - NtDoc

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

typedef struct _DEVICE_DATA_SET_RANGE {
  LONGLONG  StartingOffset;
  ULONGLONG LengthInBytes;
} DEVICE_DATA_SET_RANGE, *PDEVICE_DATA_SET_RANGE, DEVICE_DSM_RANGE, *PDEVICE_DSM_RANGE;
View the official Windows Driver Kit DDI reference
// winioctl.h

typedef struct _DEVICE_DATA_SET_RANGE {
  LONGLONG  StartingOffset;
  DWORDLONG LengthInBytes;
} DEVICE_DATA_SET_RANGE, *PDEVICE_DATA_SET_RANGE, DEVICE_DSM_RANGE, *PDEVICE_DSM_RANGE;
View the official Win32 API reference

NtDoc

No description available.

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

_DEVICE_DATA_SET_RANGE structure

Description

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.

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.

See also

Data Set Management Overview

DEVICE_DSM_INPUT

IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES


Win32 API reference (ns-winioctl-device_data_set_range)

DEVICE_DATA_SET_RANGE structure

Description

Provides data set range information for use with the IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES control code.

Members

StartingOffset

Starting offset of the data set range in bytes, relative to the start of the volume. Must align to disk logical sector size.

LengthInBytes

Length of the data set range, in bytes. Must be a multiple of disk logical sector size.

See also

DEVICE_MANAGE_DATA_SET_ATTRIBUTES

Device Management Structures