DeviceDsmGetNumberOfDataSetRanges function (ntddstor.h)
The DeviceDsmGetNumberOfDataSetRanges function gets the number of data set ranges required for the specified data set management (DSM) operation.
Syntax
ULONG DeviceDsmGetNumberOfDataSetRanges(
PDEVICE_DSM_DEFINITION Definition,
ULONG InputLength,
ULONG ParameterBlockLength
);
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1803 |
Target Platform | Universal |
Header | ntddstor.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for