Share via


XACT3DInitialize

XACT3DInitialize

Initializes the XACT 3D application programming interfaces.

  HRESULT 
  XACT3DInitialize(
  IXACTEngine *pEngine,
  X3DAUDIO_HANDLE X3DInstance
);

Parameters

  • pEngine
    [in] Pointer to the XACT engine.
  • X3DInstance
    [out] Handle to the X3DAudio instance.

Return Values

Returns S_OK if successful, an error code otherwise.

Remarks

This method needs to be called only once.

This function can be used only with the IXACTEngine interface methods. XACT3DInitialize does not work with the flat XACT functions.

Requirements

Header: Declared in Xact3d.h.

See Also

XACT Functions