IXACTEngine::Pause
IXACTEngine::Pause
Pauses or resumes playback of a category.
[Content-driven]
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. Otherwise, an error code.
Remarks
A stopping or stopped cue cannot be paused.
Requirements
Header: Declared in Xact.h.
Library: Use Xact.lib.