My Project
zego-windowthumbnail-defines.h
浏览该文件的文档.
1 #ifndef ZEGO_WINDOWTHUMBNAIL_DEFINES_H_
2 #define ZEGO_WINDOWTHUMBNAIL_DEFINES_H_
3 
5 
6 #define ZEGO_MAX_TITLE (256)
7 
9 
10 
12 {
13  int width;
14  int height;
15  int format;
16  unsigned int len;
17  unsigned char* bits;
18 };
19 
21 {
26 #ifndef WIN32
28 #endif
29  bool isScreen;
30 };
31 
33 {
38 };
39 
41 {
47 
48 };
49 
56 typedef void(*zego_windowthumbnail_window_status_change_notify_func)(enum ZegoThumbnailWindowStatus status_code, struct ZegoThumbnailWindowInfo* window_info, void *user_data);
57 
58 #endif
int width
窗口对应图标的宽(像素)
Definition: zego-windowthumbnail-defines.h:13
#define ZEGO_MAX_TITLE
Definition: zego-windowthumbnail-defines.h:6
unsigned int ZegoWindowHandle
macOS窗口ID
Definition: zego-screencapture-defines.h:20
ZegoThumbnailIconBits * icon_bits
源窗口进程图标数据
Definition: zego-windowthumbnail-defines.h:25
int height
采集画面高(像素)
Definition: zego-windowthumbnail-defines.h:14
最大化窗口
Definition: zego-windowthumbnail-defines.h:36
int format
(未使用) 默认BGRA32
Definition: zego-windowthumbnail-defines.h:15
Definition: zego-windowthumbnail-defines.h:20
unsigned char * bits
窗口对应图标画面数据
Definition: zego-windowthumbnail-defines.h:17
ZegoThumbnailShowWindowCmd
Definition: zego-windowthumbnail-defines.h:32
(macOS使用)获取到缩略图数据
Definition: zego-windowthumbnail-defines.h:46
窗口名称改变
Definition: zego-windowthumbnail-defines.h:45
Definition: zego-windowthumbnail-defines.h:11
置顶显示
Definition: zego-windowthumbnail-defines.h:34
ZegoThumbnailWindowStatus
Definition: zego-windowthumbnail-defines.h:40
窗口建立
Definition: zego-windowthumbnail-defines.h:42
窗口销毁
Definition: zego-windowthumbnail-defines.h:43
ZegoWindowHandle handle
窗口句柄
Definition: zego-windowthumbnail-defines.h:23
int thumbnail_id
缩略图ID
Definition: zego-windowthumbnail-defines.h:22
char window_title[ZEGO_MAX_TITLE]
窗口标题(windows当isScreen为true时 格式为 屏幕1-—\\DISPLAY1)
Definition: zego-windowthumbnail-defines.h:24
unsigned int len
窗口对应图标画面数据大小
Definition: zego-windowthumbnail-defines.h:16
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
ZegoThumbnailIconBits * image_bits
(macOS使用) 缩略图数据
Definition: zego-windowthumbnail-defines.h:27
bool isScreen
是否是屏幕
Definition: zego-windowthumbnail-defines.h:29
窗口无法建立缩略图
Definition: zego-windowthumbnail-defines.h:44
隐藏
Definition: zego-windowthumbnail-defines.h:35
最小化窗口
Definition: zego-windowthumbnail-defines.h:37