# ScreenCaptureSourceType (/zh-CN/api-reference/rtc/cpp-all-platforms/enum-screencapturesourcetype)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

<a id="enum_screencapturesourcetype__detailed_desc"></a>

在 [ScreenCaptureSourceInfo](/zh-CN/api-reference/rtc/cpp-all-platforms/class-screencapturesourceinfo) 中设置。

<a id="enum_screencapturesourcetype__parameters"></a>

## 枚举值 [#枚举值]

<ParameterList>
<a id="screencapturesourcetype_unknown"></a>
<Parameter name="ScreenCaptureSourceType_Unknown">

（-1）：未知类型。

</Parameter>
<a id="screencapturesourcetype_window"></a>
<Parameter name="ScreenCaptureSourceType_Window">

（0）：共享目标为窗口。

</Parameter>
<a id="screencapturesourcetype_screen"></a>
<Parameter name="ScreenCaptureSourceType_Screen">

（1）：共享目标为某个显示器的屏幕。

</Parameter>
<a id="screencapturesourcetype_custom"></a>
<Parameter name="ScreenCaptureSourceType_Custom">

（2）：保留参数。

</Parameter>
</ParameterList>
