> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XAppCaptureMetadataStopAllStates

> XAppCaptureMetadataStopAllStates

# XAppCaptureMetadataStopAllStates

現在アクティブなすべてのステート イベントを停止します。

## 構文

```cpp theme={null}
HRESULT XAppCaptureMetadataStopAllStates(  
)  
```

### パラメーター

### 戻り値

型: HRESULT

関数の結果です。

## 解説

<Note>この関数は、時間依存スレッドで呼び出しても安全ではありません。 詳細については、「[Time-sensitive threads](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/console-dev/overviews/threads/time-sensitive-threads)」を参照してください。</Note>

アプリ キャプチャ タイムラインに停止ステートを追加すると、以前に開始したイベントの終了がマークされます。 1 つのステート イベントの終了をマークするには、[XAppCaptureMetaDataStopState](/reference/system/xappcapture/functions/xappcapturemetadatastopstate) を呼び出します。 すべてのステートを停止することは、試合終了時など、試合が終了することで以前のすべてのステートが終了したとみなされる場合に便利です。

## 要件

**ヘッダー:** XAppCapture.h

**ライブラリ:** xgameruntime.lib

**サポートされているプラットフォーム:** Windows、XBOX One ファミリー本体、XBOX Series 本体

## 概念ドキュメント

* [Time-sensitive threads](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/console-dev/overviews/threads/time-sensitive-threads)

## 関連項目

[GameDVR の概要](/build/console-features/game-dvr/gamedvr-broadcast)\
[XAppCapture メンバー](/reference/system/xappcapture/xappcapture_members)\
[XAppCaptureMetaDataStopState](/reference/system/xappcapture/functions/xappcapturemetadatastopstate)


## Related topics

- [XAppCaptureMetadataStopState](/ja-jp/reference/system/xappcapture/functions/xappcapturemetadatastopstate.md)
- [XAppCapture](/ja-jp/reference/system/xappcapture/xappcapture_members.md)
- [GDK 向け Unity C# API ラッパー](/ja-jp/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [AppCaptureMetadataStartStringState](/ja-jp/reference/system/xappcapture/functions/xappcapturemetadatastartstringstate.md)
- [XAppCaptureMetadataStartInt32State](/ja-jp/reference/system/xappcapture/functions/xappcapturemetadatastartint32state.md)
