Stops a cue.
HRESULT Stop( XACTINDEX nCueIndex, DWORD dwFlags );
Note All instances of the cue specified by nCueIndex will be stopped.
Value | Description |
---|---|
XACT_FLAG_SOUNDBANK_STOP_IMMEDIATE | Cue should stop immediately, ignoring any release phase or transition specified in the content. |
Returns S_OK if successful, an error code otherwise.
Header: Declared in Xact.h.