AcxDataFormatListAssignDefaultDataFormat function (acxdataformat.h)

The AcxDataFormatListAssignDefaultDataFormat function adds an ACXDATAFORMAT object to the specified data format list and sets the ACXDATAFORMAT object as the default.

Syntax

NTSTATUS AcxDataFormatListAssignDefaultDataFormat(
  [in] ACXDATAFORMATLIST AcxDataFormatList,
  [in] ACXDATAFORMAT     AcxDataFormat
);

Parameters

[in] AcxDataFormatList

The data format list to which the ACXDATAFORMAT object is added and assigned as the default.

[in] AcxDataFormat

The ACXDATAFORMAT object to add and assign as the default in the AcxDataFormatList.

Return value

The method returns STATUS_SUCCESS if the operation succeeds. Otherwise, this method might return an appropriate NTSTATUS error code.

Remarks

ACX requirements

Minimum ACX version: 1.0

For more information about ACX versions, see ACX version overview.

Requirements

Requirement Value
Header acxdataformat.h
IRQL <= DISPATCH_LEVEL

See also