> ## 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.

# XAppCaptureEnableRecord

> XAppCaptureEnableRecord

# XAppCaptureEnableRecord

XBOX 録画機能を有効にして、ユーザーがガイドからスクリーンショットの撮影、ゲームの録画、またはブロードキャストを行えるようにします。

## 構文

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

### パラメーター

### 戻り値

型: HRESULT

関数の結果です。

## 解説

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

この関数を使用して、XBOX 内蔵の録画/スクリーンショット/ブロードキャスト機能を有効化できます。 機能が有効な場合、ユーザーはガイドを使用してスクリーンショットの撮影、ゲームの録画、またはブロードキャストを行うことができます。 つまり、\[ホーム] ボタンを押して、\[スクリーンショット/録画を撮る] を選択します。

この機能は既定で有効になっています。 機能を無効にするには、ゲームで [XAppCaptureDisableRecord](/reference/system/xappcapture/functions/xappcapturedisablerecord) を呼び出します。

## 要件

**ヘッダー:** 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)

## 関連項目

[XAppCaptureDisableRecord](/reference/system/xappcapture/functions/xappcapturedisablerecord)


## Related topics

- [XAppCaptureDisableRecord](/ja-jp/reference/system/xappcapture/functions/xappcapturedisablerecord.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)
- [XAppCaptureRecordTimespan](/ja-jp/reference/system/xappcapture/functions/xappcapturerecordtimespan.md)
- [XAppCaptureRecordClipResult](/ja-jp/reference/system/xappcapture/structs/xappcapturerecordclipresult.md)
