// ntddstor.h
ULONG DeviceDsmGetNumberOfDataSetRanges(
PDEVICE_DSM_DEFINITION Definition,
ULONG InputLength,
ULONG ParameterBlockLength
);
View the official Windows Driver Kit DDI referenceNo description available.
The DeviceDsmGetNumberOfDataSetRanges function gets the number of data set ranges required for the specified data set management (DSM) operation.
DefinitionPointer to a DEVICE_DSM_DEFINITION structure that defines the operation.
InputLengthThe length, in bytes, of the entire input buffer.
ParameterBlockLengthThe length, in bytes, of a parameter block.
DeviceDsmGetNumberOfDataSetRanges returns the number of data set ranges required for the specified operation. Each range is sizeof(DEVICE_DSM_RANGE).
See Data Set Management for details on how to process a DSM.
IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES