My Project
zego-windowthumbnail.h
浏览该文件的文档.
1 #ifndef ZEGO_WINDOWTHUMBNAIL_H_
2 #define ZEGO_WINDOWTHUMBNAIL_H_
3 
5 
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9 
15 
22 
23 #ifdef WIN32
24  SCREENCAPTURE_API bool zego_windowthumbnail_register(ZegoWindowHandle destination_handle, int thumbnail_id, struct ZegoRect* destination_rect);
32 #else
39 #endif
40  SCREENCAPTURE_API bool zego_windowthumbnail_update(int thumbnail_id, struct ZegoRect* destination_rect);
48 
56 
63 
64 
70 
75 
76 #ifdef __cplusplus
77 }
78 #endif
79 
80 #endif
unsigned int ZegoWindowHandle
macOS窗口ID
Definition: zego-screencapture-defines.h:20
SCREENCAPTURE_API bool zego_windowthumbnail_unregister(int thumbnail_id)
反注册缩略图
Definition: zego-windowthumbnail-defines.h:20
ZegoThumbnailShowWindowCmd
Definition: zego-windowthumbnail-defines.h:32
SCREENCAPTURE_API bool zego_windowthumbnail_window_checkStatus(ZegoWindowHandle handle)
检测是否能够开始共享
SCREENCAPTURE_API bool zego_windowthumbnail_register(ZegoWindowHandle handle)
同步注册缩略图
Definition: zego-screencapture-defines.h:25
SCREENCAPTURE_API bool zego_windowthumbnail_show_source_window(ZegoWindowHandle handle, enum ZegoThumbnailShowWindowCmd cmd)
显示或隐藏源窗口
#define SCREENCAPTURE_API
Definition: zego-screencapture-defines.h:12
SCREENCAPTURE_API void zego_windowthumbnail_reg_window_status_change_notify(zego_windowthumbnail_window_status_change_notify_func notify, void *user_data)
注册窗口状态变化回调
ZegoWindowHandle handle
窗口句柄
Definition: zego-windowthumbnail-defines.h:23
int thumbnail_id
缩略图ID
Definition: zego-windowthumbnail-defines.h:22
SCREENCAPTURE_API void zego_windowthumbnail_free_windows(struct ZegoThumbnailWindowInfo *window_list, int count)
释放枚举到的窗口列表
void(* zego_windowthumbnail_window_status_change_notify_func)(enum ZegoThumbnailWindowStatus status_code, struct ZegoThumbnailWindowInfo *window_info, void *user_data)
窗口状态变化回调
Definition: zego-windowthumbnail-defines.h:56
SCREENCAPTURE_API bool zego_windowthumbnail_update(int thumbnail_id, struct ZegoRect *destination_rect)
更新缩略图位置
SCREENCAPTURE_API struct ZegoThumbnailWindowInfo * zego_windowthumbnail_find_windows(int *count)
枚举可建立缩略图的窗口列表,包括窗口标题和窗口句柄