FreeRDP
Loading...
Searching...
No Matches
xf_monitor.h
1
20#ifndef FREERDP_CLIENT_X11_MONITOR_H
21#define FREERDP_CLIENT_X11_MONITOR_H
22
23#include <freerdp/api.h>
24#include <freerdp/freerdp.h>
25
26typedef struct
27{
28 RECTANGLE_16 area;
29 RECTANGLE_16 workarea;
30 BOOL primary;
31} MONITOR_INFO;
32
33typedef struct
34{
35 UINT32 nmonitors;
36 RECTANGLE_16 area;
37 RECTANGLE_16 workarea;
38 MONITOR_INFO* monitors;
39} VIRTUAL_SCREEN;
40
41#include "xf_client.h"
42#include "xfreerdp.h"
43
44FREERDP_API int xf_list_monitors(xfContext* xfc);
45FREERDP_API BOOL xf_detect_monitors(xfContext* xfc, UINT32* pWidth, UINT32* pHeight);
46FREERDP_API void xf_monitors_free(xfContext* xfc);
47
48#endif /* FREERDP_CLIENT_X11_MONITOR_H */