DeviceDsmGetOutputBlockLength function (ntddstor.h)
The DeviceDsmGetOutputBlockLength function gets the length, in bytes, of a data set management (DSM) output block.
Syntax
ULONG DeviceDsmGetOutputBlockLength(
PDEVICE_DSM_DEFINITION Definition,
ULONG OutputLength
);
Parameters
Definition
Pointer to a DEVICE_DSM_DEFINITION structure that defines the operation.
OutputLength
The length, in bytes, of the entire output (the DEVICE_DSM_OUTPUT output buffer plus the output block).
Return value
Returns the length, in bytes, of the output block.
Remarks
See Data Set Management Overview for information on how to set up and process a DSM action.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1803 |
Target Platform | Universal |
Header | ntddstor.h |