// acxdataformat.h
NTSTATUS AcxDataFormatCreate(
[in] WDFDEVICE Device,
[in] PWDF_OBJECT_ATTRIBUTES Attributes,
[in] PACX_DATAFORMAT_CONFIG Config,
[out] ACXDATAFORMAT *DataFormat
);
View the official Windows Driver Kit DDI referenceNo description available.
The AcxDataFormatCreate function is used to create a data format for use by an audio class extension (ACX) driver.
Device [in]A WDFDEVICE object (described in Summary of Framework Objects) that will be associated with the data format.
Attributes [in]A pointer to the WDF_OBJECT_ATTRIBUTES structure to use when creating the data format
Config [in]A pointer to the ACX_DATAFORMAT_CONFIG structure to use when creating the data format.
DataFormat [out]A pointer to the newly created data format.
The method returns STATUS_SUCCESS if the operation succeeds. Otherwise, this method might return an appropriate NTSTATUS error code.
Minimum ACX version: 1.0
For more information about ACX versions, see ACX version overview.