FreeRDP
client/encomsp.h
1 
22 #ifndef FREERDP_CHANNEL_ENCOMSP_CLIENT_ENCOMSP_H
23 #define FREERDP_CHANNEL_ENCOMSP_CLIENT_ENCOMSP_H
24 
25 #include <freerdp/channels/encomsp.h>
26 
27 #ifdef __cplusplus
28 extern "C"
29 {
30 #endif
31 
36  typedef struct s_encomsp_client_context EncomspClientContext;
37 
38  typedef UINT (*pcEncomspFilterUpdated)(EncomspClientContext* context,
39  const ENCOMSP_FILTER_UPDATED_PDU* filterUpdated);
40  typedef UINT (*pcEncomspApplicationCreated)(
41  EncomspClientContext* context, const ENCOMSP_APPLICATION_CREATED_PDU* applicationCreated);
42  typedef UINT (*pcEncomspApplicationRemoved)(
43  EncomspClientContext* context, const ENCOMSP_APPLICATION_REMOVED_PDU* applicationRemoved);
44  typedef UINT (*pcEncomspWindowCreated)(EncomspClientContext* context,
45  const ENCOMSP_WINDOW_CREATED_PDU* windowCreated);
46  typedef UINT (*pcEncomspWindowRemoved)(EncomspClientContext* context,
47  const ENCOMSP_WINDOW_REMOVED_PDU* windowRemoved);
48  typedef UINT (*pcEncomspShowWindow)(EncomspClientContext* context,
49  const ENCOMSP_SHOW_WINDOW_PDU* showWindow);
50  typedef UINT (*pcEncomspParticipantCreated)(
51  EncomspClientContext* context, const ENCOMSP_PARTICIPANT_CREATED_PDU* participantCreated);
52  typedef UINT (*pcEncomspParticipantRemoved)(
53  EncomspClientContext* context, const ENCOMSP_PARTICIPANT_REMOVED_PDU* participantRemoved);
54  typedef UINT (*pcEncomspChangeParticipantControlLevel)(
55  EncomspClientContext* context,
56  const ENCOMSP_CHANGE_PARTICIPANT_CONTROL_LEVEL_PDU* changeParticipantControlLevel);
57  typedef UINT (*pcEncomspGraphicsStreamPaused)(
58  EncomspClientContext* context,
59  const ENCOMSP_GRAPHICS_STREAM_PAUSED_PDU* graphicsStreamPaused);
60  typedef UINT (*pcEncomspGraphicsStreamResumed)(
61  EncomspClientContext* context,
62  const ENCOMSP_GRAPHICS_STREAM_RESUMED_PDU* graphicsStreamResumed);
63 
65  {
66  void* handle;
67  void* custom;
68 
69  pcEncomspFilterUpdated FilterUpdated;
70  pcEncomspApplicationCreated ApplicationCreated;
71  pcEncomspApplicationRemoved ApplicationRemoved;
72  pcEncomspWindowCreated WindowCreated;
73  pcEncomspWindowRemoved WindowRemoved;
74  pcEncomspShowWindow ShowWindow;
75  pcEncomspParticipantCreated ParticipantCreated;
76  pcEncomspParticipantRemoved ParticipantRemoved;
77  pcEncomspChangeParticipantControlLevel ChangeParticipantControlLevel;
78  pcEncomspGraphicsStreamPaused GraphicsStreamPaused;
79  pcEncomspGraphicsStreamResumed GraphicsStreamResumed;
80 
81  UINT32 participantId;
82  };
83 
84 #ifdef __cplusplus
85 }
86 #endif
87 
88 #endif /* FREERDP_CHANNEL_ENCOMSP_CLIENT_ENCOMSP_H */