Stops a sound category.
HRESULT Stop( XACTCATEGORY nCategory, DWORD dwFlags );
[in] Index of the category (XACTCATEGORY) to stop, as returned by IXACTEngine::GetCategory.
[in] Flag that specifies how the category is stopped. By default, the sounds complete whatever release phase the content has set up.
Returns S_OK if successful. Otherwise, an error code.
Header: Declared in Xact.h.
Library: Use Xact.lib.