Share via


XACTPause

XACTPause

Pauses or resumes playback of a category.

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

  HRESULT 
  XACTPause(
  XACTCATEGORY nCategory,
  BOOL fPause
);

Parameters

  • nCategory
    [in] Index of the category (XACTCATEGORY) to pause, as returned by XACTGetCategory.
  • fPause
    [in] Action to take. If TRUE, playback is paused. If FALSE, playback resumes.

Return Values

Returns S_OK if successful, an error code otherwise.

Remarks

A stopping or stopped cue cannot be paused.

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

Requirements

Header: Declared in Xact.h.

Library: Use Xact.lib.

See Also

XACT Functions | XACTGetCategory