# ScreenCaptureSourceInfo (/zh-CN/api-reference/rtc/cpp-all-platforms/class-screencapturesourceinfo)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
```cpp
struct ScreenCaptureSourceInfo {
ScreenCaptureSourceType type;
int64_t sourceId;
const char* sourceName;
ThumbImageBuffer thumbImage;
ThumbImageBuffer iconImage;
const char* processPath;
const char* sourceTitle;
bool primaryMonitor;
bool isOccluded;
Rectangle position;
#if defined(_WIN32)
bool minimizeWindow;
int64_t sourceDisplayId;
#else
#endif
};
```
该信息通过 [IScreenCaptureSourceList](/zh-CN/api-reference/rtc/cpp-all-platforms/rtc-interface-class#class_iscreencapturesourcelist) 返回。
## 属性 [#属性]
共享目标的类型。详见 [ScreenCaptureSourceType](/zh-CN/api-reference/rtc/cpp-all-platforms/enum-screencapturesourcetype)。
窗口的 ID 或屏幕的显示 ID。
窗口或屏幕的名称,UTF-8 编码。
缩略图的图像内容。详见 [ThumbImageBuffer](/zh-CN/api-reference/rtc/cpp-all-platforms/class-thumbimagebuffer)。
图标的图像内容。详见 [ThumbImageBuffer](/zh-CN/api-reference/rtc/cpp-all-platforms/class-thumbimagebuffer)。
窗口所属进程的路径,UTF-8 编码。
窗口的标题,UTF-8 编码。
是否为主显示屏:
- true:是主显示屏。
- false:不是主显示屏。
是否被遮挡:
- true:窗口被遮挡。
- false:窗口未被遮挡。
窗口相对于整个屏幕空间(包括所有可共享屏幕)的位置。详见 [Rectangle](/zh-CN/api-reference/rtc/cpp-all-platforms/class-rectangle)。
:::note
注: 仅适用于 Windows 平台。
:::
窗口是否最小化:
- true:窗口已最小化。
- false:窗口未最小化。
窗口所在的屏幕 ID(仅适用于 Windows)。如果窗口跨多个屏幕显示,该参数表示窗口与其交集面积最大的屏幕的 ID;如果窗口位于不可见屏幕之外,则该值为 -2。
:::note
注: 仅适用于 Windows 平台。
:::