summaryrefslogtreecommitdiffstats
path: root/common/xrdp_constants.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/xrdp_constants.h')
-rw-r--r--common/xrdp_constants.h33
1 files changed, 27 insertions, 6 deletions
diff --git a/common/xrdp_constants.h b/common/xrdp_constants.h
index 1faeea33..1aa18eb5 100644
--- a/common/xrdp_constants.h
+++ b/common/xrdp_constants.h
@@ -323,16 +323,22 @@
#define CF_GDIOBJLAST 1023
/* Sound format constants */
-#define WAVE_FORMAT_PCM 1
+#define WAVE_FORMAT_PCM 1
#define WAVE_FORMAT_ADPCM 2
#define WAVE_FORMAT_ALAW 6
#define WAVE_FORMAT_MULAW 7
/* Virtual channel options */
-#define CHANNEL_OPTION_INITIALIZED 0x80000000
-#define CHANNEL_OPTION_ENCRYPT_RDP 0x40000000
-#define CHANNEL_OPTION_COMPRESS_RDP 0x00800000
-#define CHANNEL_OPTION_SHOW_PROTOCOL 0x00200000
+#define XR_CHANNEL_OPTION_SHOW_PROTOCOL 0x00200000
+#define XR_CHANNEL_OPTION_COMPRESS 0x00400000
+#define XR_CHANNEL_OPTION_COMPRESS_RDP 0x00800000
+#define XR_CHANNEL_OPTION_PRI_LOW 0x02000000
+#define XR_CHANNEL_OPTION_PRI_MED 0x04000000
+#define XR_CHANNEL_OPTION_PRI_HIGH 0x08000000
+#define XR_CHANNEL_OPTION_ENCRYPT_CS 0x10000000
+#define XR_CHANNEL_OPTION_ENCRYPT_SC 0x20000000
+#define XR_CHANNEL_OPTION_ENCRYPT_RDP 0x40000000
+#define XR_CHANNEL_OPTION_INITIALIZED 0x80000000
/* NT status codes for RDPDR */
#define STATUS_SUCCESS 0x00000000
@@ -417,6 +423,12 @@
#define RDP_ORDER_RAW_BMPCACHE2 4
#define RDP_ORDER_BMPCACHE2 5
#define RDP_ORDER_BRUSHCACHE 7
+#define RDP_ORDER_BMPCACHE3 8
+
+/* orderSupportExFlags (2 bytes): A 16-bit, unsigned integer.
+ Extended order support flags. */
+#define XR_ORDERFLAGS_EX_CACHE_BITMAP_REV3_SUPPORT 0x0002
+#define XR_ORDERFLAGS_EX_ALTSEC_FRAME_MARKER_SUPPORT 0x0004
/* drawable types */
#define WND_TYPE_BITMAP 0
@@ -429,6 +441,7 @@
#define WND_TYPE_COMBO 7
#define WND_TYPE_SPECIAL 8
#define WND_TYPE_LISTBOX 9
+#define WND_TYPE_OFFSCREEN 10
/* button states */
#define BUTTON_STATE_UP 0
@@ -495,10 +508,18 @@
#define SURCMDS_FRAMEMARKER 0x00000010
#define SURCMDS_STREAMSUFRACEBITS 0x00000040
+/* CODEC_GUID_NSCODEC 0xCA8D1BB9000F154F589FAE2D1A87E2D6 */
+#define XR_CODEC_GUID_NSCODEC \
+ "\xb9\x1b\x8d\xca\x0f\x00\x4f\x15\x58\x9f\xae\x2d\x1a\x87\xe2\xd6"
+
/* CODEC_GUID_REMOTEFX 0x76772F12BD724463AFB3B73C9C6F7886 */
-#define CODEC_GUID_REMOTEFX \
+#define XR_CODEC_GUID_REMOTEFX \
"\x12\x2F\x77\x76\x72\xBD\x63\x44\xAF\xB3\xB7\x3C\x9C\x6F\x78\x86"
+/* CODEC_GUID_JPEG 0x430C9EED1BAF4CE6869ACB8B37B66237*/
+#define XR_CODEC_GUID_JPEG \
+ "\xE6\x4C\xAF\x1B\xED\x9E\x0C\x43\x86\x9A\xCB\x8B\x37\xB6\x62\x37"
+
#define RDP_CAPSET_SURFCMDS 0x1c
#define RDP_CAPLEN_SURFCMDS 0x0c
#define RDP_CAPSET_BMPCODECS 0x1d