Bewerken

Delen via


DeviceDsmNumberOfDataSetRanges function (ntddstor.h)

The DeviceDsmNumberOfDataSetRanges function gets the number of data set ranges in the payload of an IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES request.

Syntax

ULONG DeviceDsmNumberOfDataSetRanges(
  PDEVICE_DSM_INPUT Input
);

Parameters

Input

Pointer to a DEVICE_DSM_INPUT structure.

Return value

DeviceDsmNumberOfDataSetRanges returns the number of data set ranges in the payload. Each range is sizeof(DEVICE_DSM_RANGE).

Remarks

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

Requirements

Requirement Value
Target Platform Universal
Header ntddstor.h

See also

Data Set Management

DEVICE_DSM_INPUT

DEVICE_DSM_RANGE

IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES