XACTCreateEngine
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. Can be zero or the following: - ppEngine
[out] Address that receives a pointer to the created engine.
Return Values
Returns S_OK if successful, an error code otherwise.
Remarks
Multiple engines can be created in a single title by calling XACTCreateEngine. This may be useful in situations where you are using separate projects in the same title. Alternatively, you can use the XACT project import and shared settings to manage multiple projects.
Requirements
Header: Declared in Xact.h.
Library: Use Xact.lib.