Compartilhar via


XAppCaptureMetadataStopAllStates

Stops all state events currently active.

Syntax

HRESULT XAppCaptureMetadataStopAllStates(  
)  

Parameters

Return value

Type: HRESULT

Function result.

Remarks

Note

This function isn't safe to call on a time-sensitive thread. For more information, see Time-sensitive threads.

Adding a stop state to the app capture timeline will mark the end of a previously started event. To mark the end of a single state event call XAppCaptureMetaDataStopState. Stopping all states is useful for instances like the end of the match where all previous states are assumed to conclude due to the match ending.

Requirements

Header: XAppCapture.h

Library: xgameruntime.lib

Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles

See also

GameDVR Overview
XAppCapture Members
XAppCaptureMetaDataStopState