// ntddstor.h
ULONG DeviceDsmGetOutputBlockLength(
PDEVICE_DSM_DEFINITION Definition,
ULONG OutputLength
);
View the official Windows Driver Kit DDI referenceNo description available.
The DeviceDsmGetOutputBlockLength function gets the length, in bytes, of a data set management (DSM) output block.
DefinitionPointer to a DEVICE_DSM_DEFINITION structure that defines the operation.
OutputLengthThe length, in bytes, of the entire output (the DEVICE_DSM_OUTPUT output buffer plus the output block).
Returns the length, in bytes, of the output block.
See Data Set Management Overview for information on how to set up and process a DSM action.