AcxDataFormatListAddDataFormat function (acxdataformat.h)

The AcxDataFormatListAddDataFormat function adds an ACXDATAFORMAT object to a data format list.

Syntax

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

Parameters

[in] AcxDataFormatList

The data format list to which AcxDataFormat is added.

[in] AcxDataFormat

The ACXDATAFORMAT object to add to AcxDataFormatList.

Return value

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

Remarks

If the data format list doesn't have a default data format, this data format becomes the default data format for that list.

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