Bewerken

Delen via


AcxCompositeTemplateCreate function (acxmanager.h)

The AcxCompositeTemplateCreate function is used to create a composite template for use by the audio class extension (ACX) manager.

Syntax

NTSTATUS AcxCompositeTemplateCreate(
  [in]  WDFDRIVER                      Driver,
  [in]  PWDF_OBJECT_ATTRIBUTES         Attributes,
  [in]  PACX_COMPOSITE_TEMPLATE_CONFIG Config,
  [out] ACXCOMPOSITETEMPLATE           *Template
);

Parameters

[in] Driver

A WDFDRIVER object, described in Summary of Framework Objects, that will be associated with the composite template.

[in] Attributes

A pointer to the WDF_OBJECT_ATTRIBUTES structure to use when creating the composite template.

[in] Config

A pointer to an ACX_COMPOSITE_TEMPLATE_CONFIG structure to use when creating the composite template.

[out] Template

A pointer to the newly created composite template object.

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 acxmanager.h
IRQL PASSIVE_LEVEL

See also