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

# XAppCaptureDisableRecord

> XAppCaptureDisableRecord

# XAppCaptureDisableRecord

停用玩家的視訊錄製功能。

<a id="syntaxSection" />

## 語法

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

<a id="parametersSection" />

### 參數

此函式不接受任何參數。

<a id="retvalSection" />

### 傳回值

類型：HRESULT

成功時傳回 `S_OK`。

<a id="remarksSection" />

## 備註

停用錄製功能後，玩家將無法再透過選取 **\[首頁]** > **\[擷取螢幕擷取畫面/錄製]** 來錄製視訊、擷取螢幕擷取畫面或廣播遊戲。

若要啟用錄製功能，請呼叫 [XAppCaptureEnableRecord](/zh-TW/reference/system/xappcapture/functions/xappcaptureenablerecord)。

錄製功能預設為啟用。

**注意**：當 XBOM 遠端檢視為作用中時，將會忽略此 API 呼叫。一旦關閉 XBOM 遠端檢視，此 API 就會生效，並停用錄製功能。

<Note>在時間敏感執行緒上呼叫此函式並不安全。如需詳細資訊，請參閱[時間敏感執行緒](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/console-dev/overviews/threads/time-sensitive-threads)。</Note>

<a id="requirementsSection" />

## 需求

**標頭：** XAppCapture.h

**程式庫：** xgameruntime.lib

**支援的平台：** Windows、XBOX One 系列主機和 XBOX Series 主機

<a id="seealsoSection" />

## 概念文件

* [時間敏感執行緒](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/console-dev/overviews/threads/time-sensitive-threads)

## 另請參閱

[XAppCaptureEnableRecord](/zh-TW/reference/system/xappcapture/functions/xappcaptureenablerecord)


## Related topics

- [XAppCaptureDisableRecord](/reference/system/xappcapture/functions/xappcapturedisablerecord.md)
- [XAppCaptureEnableRecord](/reference/system/xappcapture/functions/xappcaptureenablerecord.md)
- [XAppCapture](/reference/system/xappcapture/xappcapture_members.md)
- [XAppCaptureRecordTimespan](/es/reference/system/xappcapture/functions/xappcapturerecordtimespan.md)
