Share via


IXACTEngine::ShutDown

IXACTEngine::ShutDown

Shuts down the XACT engine and frees any resources in use.

[Content-driven]

  HRESULT 
  ShutDown(
  );

Parameters

None.

Return Values

Returns S_OK if successful. Otherwise, an error code.

Remarks

This method destroys all existing cues, sound banks, and wave banks. It blocks until all cues are destroyed. The method also flushes all pending notifications and unregisters all notification descriptions. No XACT API or method calls can be made after calling this function.

Requirements

Header: Declared in Xact.h.

Library: Use Xact.lib.

See Also

IXACTEngine