Share via


XACTStop

XACTStop

Stops a sound category.

Windows:  This function is not supported on the Windows platform. Use IXACTEngine::Stop

  STDAPI 
  XACTStop(
  XACTCATEGORY nCategory,
  DWORD dwFlags
);

Parameters

  • nCategory
    [in] Index of the category (XACTCATEGORY) to stop, as returned by XACTGetCategory.
  • dwFlags
    [in] Flag that specifies how the category will be stopped. By default, the sounds complete whatever release phase the content has set up.

Return Values

Returns S_OK if successful, an error code otherwise.

Remarks

Note    This function has been deprecated. Titles should use IXACTEngine::Stop.

Requirements

Header: Declared in Xact.h.

Library: Use Xact.lib.

See Also

XACT Functions | XACTGetCategory