DeviceDsmInitializeOutput function (ntddstor.h)

The DeviceDsmInitializeOutput function initializes a DEVICE_DSM_OUTPUT structure.

Syntax

void DeviceDsmInitializeOutput(
  PDEVICE_DSM_DEFINITION Definition,
  PDEVICE_DSM_OUTPUT     Output,
  ULONG                  OutputLength,
  ULONG                  Flags
);

Parameters

Definition

Pointer to a DEVICE_DSM_DEFINITION structure that defines the data set management (DSM) operation.

Output

Pointer to the DEVICE_DSM_OUTPUT structure to be initialized.

OutputLength

The length, in bytes, of the entire output buffer.

Flags

Flags for the DSM action in the DEVICE_DSM_OUTPUT structure.

Return value

None

Remarks

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

Requirements

Requirement Value
Minimum supported client Windows 10, version 1803
Target Platform Universal
Header ntddstor.h

See also

Data Set Management Overview

DEVICE_DSM_DEFINITION

DEVICE_DSM_OUTPUT