22 #ifndef FREERDP_CHANNEL_ENCOMSP_SERVER_ENCOMSP_H
23 #define FREERDP_CHANNEL_ENCOMSP_SERVER_ENCOMSP_H
25 #include <freerdp/api.h>
26 #include <freerdp/types.h>
27 #include <freerdp/channels/wtsvc.h>
29 #include <freerdp/channels/encomsp.h>
43 typedef UINT (*psEncomspStart)(EncomspServerContext* context);
44 typedef UINT (*psEncomspStop)(EncomspServerContext* context);
46 typedef UINT (*psEncomspFilterUpdated)(EncomspServerContext* context,
48 typedef UINT (*psEncomspApplicationCreated)(
50 typedef UINT (*psEncomspApplicationRemoved)(
52 typedef UINT (*psEncomspWindowCreated)(EncomspServerContext* context,
54 typedef UINT (*psEncomspWindowRemoved)(EncomspServerContext* context,
56 typedef UINT (*psEncomspShowWindow)(EncomspServerContext* context,
58 typedef UINT (*psEncomspParticipantCreated)(
60 typedef UINT (*psEncomspParticipantRemoved)(
62 typedef UINT (*psEncomspChangeParticipantControlLevel)(
63 EncomspServerContext* context,
65 typedef UINT (*psEncomspGraphicsStreamPaused)(
67 typedef UINT (*psEncomspGraphicsStreamResumed)(
78 psEncomspFilterUpdated FilterUpdated;
79 psEncomspApplicationCreated ApplicationCreated;
80 psEncomspApplicationRemoved ApplicationRemoved;
81 psEncomspWindowCreated WindowCreated;
82 psEncomspWindowRemoved WindowRemoved;
83 psEncomspShowWindow ShowWindow;
84 psEncomspParticipantCreated ParticipantCreated;
85 psEncomspParticipantRemoved ParticipantRemoved;
86 psEncomspChangeParticipantControlLevel ChangeParticipantControlLevel;
87 psEncomspGraphicsStreamPaused GraphicsStreamPaused;
88 psEncomspGraphicsStreamResumed GraphicsStreamResumed;
90 EncomspServerPrivate* priv;
92 rdpContext* rdpcontext;
95 FREERDP_API
void encomsp_server_context_free(EncomspServerContext* context);
97 WINPR_ATTR_MALLOC(encomsp_server_context_free, 1)
98 FREERDP_API EncomspServerContext* encomsp_server_context_new(HANDLE vcm);