20 #ifndef FREERDP_CHANNEL_ENCOMSP_H
21 #define FREERDP_CHANNEL_ENCOMSP_H
23 #include <freerdp/api.h>
24 #include <freerdp/types.h>
35 #define ENCOMSP_CHANNEL_NAME "encomsp"
36 #define ENCOMSP_SVC_CHANNEL_NAME "encomsp"
46 #define ENCOMSP_FILTER_ENABLED 0x0001
50 #define ENCOMSP_APPLICATION_SHARED 0x0001
54 #define ENCOMSP_WINDOW_SHARED 0x0001
58 #define ENCOMSP_MAY_VIEW 0x0001
59 #define ENCOMSP_MAY_INTERACT 0x0002
60 #define ENCOMSP_IS_PARTICIPANT 0x0004
64 #define ENCOMSP_PARTICIPANT_DISCONNECTION_REASON_APP 0x00000000
65 #define ENCOMSP_PARTICIPANT_DISCONNECTION_REASON_CLI 0x00000002
69 #define ENCOMSP_REQUEST_VIEW 0x0001
70 #define ENCOMSP_REQUEST_INTERACT 0x0002
71 #define ENCOMSP_ALLOW_CONTROL_REQUESTS 0x0008
75 #define ODTYPE_FILTER_STATE_UPDATED 0x0001
76 #define ODTYPE_APP_REMOVED 0x0002
77 #define ODTYPE_APP_CREATED 0x0003
78 #define ODTYPE_WND_REMOVED 0x0004
79 #define ODTYPE_WND_CREATED 0x0005
80 #define ODTYPE_WND_SHOW 0x0006
81 #define ODTYPE_PARTICIPANT_REMOVED 0x0007
82 #define ODTYPE_PARTICIPANT_CREATED 0x0008
83 #define ODTYPE_PARTICIPANT_CTRL_CHANGED 0x0009
84 #define ODTYPE_GRAPHICS_STREAM_PAUSED 0x000A
85 #define ODTYPE_GRAPHICS_STREAM_RESUMED 0x000B
87 #define DEFINE_ENCOMSP_HEADER_COMMON() \
91 #define ENCOMSP_ORDER_HEADER_SIZE 4
95 DEFINE_ENCOMSP_HEADER_COMMON();
100 DEFINE_ENCOMSP_HEADER_COMMON();
107 DEFINE_ENCOMSP_HEADER_COMMON();
116 DEFINE_ENCOMSP_HEADER_COMMON();
123 DEFINE_ENCOMSP_HEADER_COMMON();
133 DEFINE_ENCOMSP_HEADER_COMMON();
140 DEFINE_ENCOMSP_HEADER_COMMON();
147 DEFINE_ENCOMSP_HEADER_COMMON();
149 UINT32 ParticipantId;
157 DEFINE_ENCOMSP_HEADER_COMMON();
159 UINT32 ParticipantId;
166 DEFINE_ENCOMSP_HEADER_COMMON();
169 UINT32 ParticipantId;
174 DEFINE_ENCOMSP_HEADER_COMMON();
179 DEFINE_ENCOMSP_HEADER_COMMON();