XACTCreateEngine

Creates an instance of the IXACTEngine interface, which is used to create and manipulate other XACT objects.

HRESULT XACTCreateEngine(
  DWORD dwCreationFlags,
  IXACTEngine **ppEngine
);

Parameters

dwCreationFlags
[in] Flags that specify how the engine should be created.
Value Description
XACT_FLAG_API_AUDITION_MODE

Specifies that auditioning should be enabled.

XACT_FLAG_API_DEBUG_MODE

Specifies that debug mode should be enabled.

ppEngine
[out] Address that will receive a pointer to the created engine.

Return Values

Returns S_OK if successful, an error code otherwise.

Requirements

Header: Declared in Xact.h.

See Also

XACT Functions