IXACTEngine::Pause
Pause or resume playback of a category.
HRESULT Pause(
XACTCATEGORY nCategory,
BOOL fPause
);
Parameters
- nCategory
- [in] Index of the category (XACTCATEGORY) to pause, as returned by IXACTEngine::GetCategory.
- 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.
Requirements
Header: Declared in Xact.h.
See Also
IXACTEngine |
IXACTEngine::GetCategory