DeviceDsmGetOutputLength - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntddstor.h

ULONG DeviceDsmGetOutputLength(
  PDEVICE_DSM_DEFINITION Definition,
  ULONG                  OutputBlockLength
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ntddstor-devicedsmgetoutputlength)

DeviceDsmGetOutputLength function

Description

The DeviceDsmGetOutputLength function gets the length, in bytes, of the output buffer for a data set management (DSM) operation.

Parameters

Definition

Pointer to a DEVICE_DSM_DEFINITION structure that defines the DSM operation.

OutputBlockLength

The length, in bytes, of the output block.

Return value

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.

Remarks

See Data Set Management Overview for information on how to set up and process a DSM action.

See also

Data Set Management Overview

DEVICE_DSM_DEFINITION

DEVICE_DSM_OUTPUT