summaryrefslogtreecommitdiffstats
path: root/common/xrdp_constants.h
diff options
context:
space:
mode:
authorKoichiro IWAO <meta@vmeta.jp>2017-11-24 23:35:50 +0900
committermetalefty <meta@vmeta.jp>2017-12-01 11:20:42 +0900
commit788ae1467a806e132d9756ec99e8345491bd676f (patch)
tree917edbce7124ebf842865d972ad6d05e096b6217 /common/xrdp_constants.h
parent8d951ab02e23893247cb3a7744c4980071411fea (diff)
downloadxrdp-proprietary-788ae1467a806e132d9756ec99e8345491bd676f.tar.gz
xrdp-proprietary-788ae1467a806e132d9756ec99e8345491bd676f.zip
xrdp_sec: constify color depth value
Diffstat (limited to 'common/xrdp_constants.h')
-rw-r--r--common/xrdp_constants.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/xrdp_constants.h b/common/xrdp_constants.h
index dc564fa0..163a3050 100644
--- a/common/xrdp_constants.h
+++ b/common/xrdp_constants.h
@@ -101,6 +101,13 @@
#define CONNECTION_TYPE_LAN 0x06
#define CONNECTION_TYPE_AUTODETECT 0x07
+/* Client Core Data: colorDepth, postBeta2ColorDepth (MS-RDPBCGR 2.2.1.3.2) */
+#define RNS_UD_COLOR_4BPP 0xCA00
+#define RNS_UD_COLOR_8BPP 0xCA01
+#define RNS_UD_COLOR_16BPP_555 0xCA02
+#define RNS_UD_COLOR_16BPP_565 0xCA03
+#define RNS_UD_COLOR_24BPP 0xCA04
+
/* Slow-Path Input Event: messageType (MS-RDPBCGR 2.2.8.1.1.3.1.1) */
/* TODO: to be renamed */
#define RDP_INPUT_SYNCHRONIZE 0