20 #ifndef FREERDP_CHANNEL_DISP_H
21 #define FREERDP_CHANNEL_DISP_H
23 #include <freerdp/api.h>
24 #include <freerdp/types.h>
26 #define DISPLAY_CONTROL_PDU_TYPE_CAPS 0x00000005
27 #define DISPLAY_CONTROL_PDU_TYPE_MONITOR_LAYOUT 0x00000002
28 #define DISPLAY_CONTROL_MONITOR_LAYOUT_SIZE 40
30 #define DISP_CHANNEL_NAME "disp"
32 #define DISP_DVC_CHANNEL_NAME "Microsoft::Windows::RDS::DisplayControl"
33 #define ORIENTATION_LANDSCAPE 0
34 #define ORIENTATION_PORTRAIT 90
35 #define ORIENTATION_LANDSCAPE_FLIPPED 180
36 #define ORIENTATION_PORTRAIT_FLIPPED 270
38 #define DISPLAY_CONTROL_MONITOR_PRIMARY 0x00000001
39 #define DISPLAY_CONTROL_HEADER_LENGTH 0x00000008
41 #define DISPLAY_CONTROL_MIN_MONITOR_WIDTH 200
42 #define DISPLAY_CONTROL_MAX_MONITOR_WIDTH 8192
44 #define DISPLAY_CONTROL_MIN_MONITOR_HEIGHT 200
45 #define DISPLAY_CONTROL_MAX_MONITOR_HEIGHT 8192
47 #define DISPLAY_CONTROL_MIN_PHYSICAL_MONITOR_WIDTH 10
48 #define DISPLAY_CONTROL_MAX_PHYSICAL_MONITOR_WIDTH 10000
50 #define DISPLAY_CONTROL_MIN_PHYSICAL_MONITOR_HEIGHT 10
51 #define DISPLAY_CONTROL_MAX_PHYSICAL_MONITOR_HEIGHT 10000
72 UINT32 PhysicalHeight;
74 UINT32 DesktopScaleFactor;
75 UINT32 DeviceScaleFactor;
80 UINT32 MonitorLayoutSize;