DeviceDsmGetNumberOfDataSetRanges - NtDoc

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

ULONG DeviceDsmGetNumberOfDataSetRanges(
  PDEVICE_DSM_DEFINITION Definition,
  ULONG                  InputLength,
  ULONG                  ParameterBlockLength
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ntddstor-devicedsmgetnumberofdatasetranges)

DeviceDsmGetNumberOfDataSetRanges function

Description

The DeviceDsmGetNumberOfDataSetRanges function gets the number of data set ranges required for the specified data set management (DSM) operation.

Parameters

Definition

Pointer to a DEVICE_DSM_DEFINITION structure that defines the operation.

InputLength

The length, in bytes, of the entire input buffer.

ParameterBlockLength

The length, in bytes, of a parameter block.

Return value

DeviceDsmGetNumberOfDataSetRanges returns the number of data set ranges required for the specified operation. Each range is sizeof(DEVICE_DSM_RANGE).

Remarks

See Data Set Management for details on how to process a DSM.

See also

Data Set Management

DEVICE_DSM_DEFINITION

DEVICE_DSM_RANGE

IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES