Skip to main content

XAppCaptureMetadataStopAllStates

Stops all state events currently active.

Syntax

Parameters

Return value

Type: HRESULT Function result.

Remarks

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

Conceptual documentation

See also

GameDVR Overview
XAppCapture Members
XAppCaptureMetaDataStopState
Last modified on August 20, 2026