DeviceDsmGetOutputLength function (ntddstor.h)
The DeviceDsmGetOutputLength function gets the length, in bytes, of the output buffer for a data set management (DSM) operation.
ULONG DeviceDsmGetOutputLength(
PDEVICE_DSM_DEFINITION Definition,
ULONG OutputBlockLength
);
Definition
Pointer to a DEVICE_DSM_DEFINITION structure that defines the DSM operation.
OutputBlockLength
The length, in bytes, of the output block.
DeviceDsmGetOutputLength returns the total number of bytes in the output: the length of a DEVICE_DSM_OUTPUT structure plus the length of the output block, if any. It returns zero if the operation does not have output.
See Data Set Management Overview for information on how to set up and process a DSM action.
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1803 |
Target Platform | Universal |
Header | ntddstor.h |