DEVICE_DSM_OFFLOAD_READ_PARAMETERS - NtDoc

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

typedef struct _DEVICE_DSM_OFFLOAD_READ_PARAMETERS {
  ULONG Flags;
  ULONG TimeToLive;
  ULONG Reserved[2];
} DEVICE_DSM_OFFLOAD_READ_PARAMETERS, *PDEVICE_DSM_OFFLOAD_READ_PARAMETERS;
View the official Windows Driver Kit DDI reference
// winioctl.h

typedef struct _DEVICE_DSM_OFFLOAD_READ_PARAMETERS {
  DWORD Flags;
  DWORD TimeToLive;
  DWORD Reserved[2];
} DEVICE_DSM_OFFLOAD_READ_PARAMETERS, *PDEVICE_DSM_OFFLOAD_READ_PARAMETERS;
View the official Win32 API reference

NtDoc

No description available.

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

_DEVICE_DSM_OFFLOAD_READ_PARAMETERS structure

Description

The DEVICE_DSM_OFFLOAD_READ_PARAMETERS structure specifies the parameters for an offload read action related to the data-set attributes for a device.

Members

Flags

Not used. Set to 0.

TimeToLive

The duration, in milliseconds, for which the requested data ranges should remain valid.

Reserved

Reserved.

Remarks

This structure is used in an offload read action for an IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES request. The Action member of the DEVICE_DSM_INPUT structure is set to DeviceDsmAction_OffloadRead.

The ParameterBlockOffset and ParameterBlockLength members of DEVICE_DSM_INPUT structure are set to the location and length of the DEVICE_DSM_OFFLOAD_READ_PARAMETERS structure in the input buffer of the IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES request.

The DataSetRangesOffset and DataSetRangesLength members of DEVICE_DSM_INPUT specify the DEVICE_DSM_RANGE structures for the extents of the offload read.

See DEVICE_DSM_ACTION Descriptions for more details about this action.

See also

DEVICE_DSM_ACTION Descriptions

DEVICE_DSM_INPUT

DEVICE_DSM_OFFLOAD_WRITE_PARAMETERS

DEVICE_DSM_RANGE


Win32 API reference (ns-winioctl-device_dsm_offload_read_parameters)

DEVICE_DSM_OFFLOAD_READ_PARAMETERS structure

Description

Contains parameters for the DeviceDsmAction_OffloadRead action for the IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES control code.

Members

Flags

Set to 0.

TimeToLive

The time to live (TTL) for the token, in milliseconds.

Reserved

Set to 0.

See also

DEVICE_MANAGE_DATA_SET_ATTRIBUTES

Device Management Structures

IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES

STORAGE_OFFLOAD_READ_OUTPUT