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

# XAppCaptureCloseLocalStream

> XAppCaptureCloseLocalStream

# XAppCaptureCloseLocalStream

指定した録画ストリームを閉じて削除します。

## 構文

```cpp theme={null}
HRESULT XAppCaptureCloseLocalStream(
  XAppCaptureLocalStreamHandle handle
)
```

### パラメーター

*handle* \_In\_\
型: XAppCaptureLocalStreamHandle

閉じる録画ストリームのハンドルです。

### 戻り値

型: HRESULT

関数の結果です。

## 解説

同時に許可される録画は 2 つだけであり、2 つの録画が作成されると、ストリームの 1 つで **XAppCaptureCloseLocalStream** が呼び出されるまで、追加の録画は失敗を返します。

## 要件

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

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

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

## 関連項目

[XAppCapture メンバー](/reference/system/xappcapture/xappcapture_members)


## Related topics

- [XAppCaptureLocalResult](/ja-jp/reference/system/xappcapture/structs/xappcapturelocalresult.md)
- [XAppCaptureRecordTimespan](/ja-jp/reference/system/xappcapture/functions/xappcapturerecordtimespan.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)
- [XAppCaptureCloseScreenshotStream](/ja-jp/reference/system/xappcapture/functions/xappcaptureclosescreenshotstream.md)
