FreeRDP
server/disp.h
1 
20 #ifndef FREERDP_CHANNEL_DISP_SERVER_DISP_H
21 #define FREERDP_CHANNEL_DISP_SERVER_DISP_H
22 
23 #include <freerdp/channels/disp.h>
24 
25 #include <freerdp/api.h>
26 #include <freerdp/types.h>
27 
28 #ifdef __cplusplus
29 extern "C"
30 {
31 #endif
32 
33  typedef struct s_disp_server_private DispServerPrivate;
34  typedef struct s_disp_server_context DispServerContext;
35 
36  typedef BOOL (*psDispChannelIdAssigned)(DispServerContext* context, UINT32 channelId);
37 
38  typedef UINT (*psDispMonitorLayout)(DispServerContext* context,
40  typedef UINT (*psDispCaps)(DispServerContext* context);
41  typedef UINT (*psDispOpen)(DispServerContext* context);
42  typedef UINT (*psDispClose)(DispServerContext* context);
43 
45  {
46  void* custom;
47  HANDLE vcm;
48 
49  /* Server capabilities */
50  UINT32 MaxNumMonitors;
51  UINT32 MaxMonitorAreaFactorA;
52  UINT32 MaxMonitorAreaFactorB;
53 
54  psDispOpen Open;
55  psDispClose Close;
56 
57  psDispMonitorLayout DispMonitorLayout;
58  psDispCaps DisplayControlCaps;
59 
60  DispServerPrivate* priv;
61  rdpContext* rdpcontext;
62 
66  psDispChannelIdAssigned ChannelIdAssigned;
67  };
68 
69  FREERDP_API void disp_server_context_free(DispServerContext* context);
70 
71  WINPR_ATTR_MALLOC(disp_server_context_free, 1)
72  FREERDP_API DispServerContext* disp_server_context_new(HANDLE vcm);
73 
74 #ifdef __cplusplus
75 }
76 #endif
77 
78 #endif /* FREERDP_CHANNEL_DISP_SERVER_DISP_H */
psDispChannelIdAssigned ChannelIdAssigned
Definition: server/disp.h:66