From 788ae1467a806e132d9756ec99e8345491bd676f Mon Sep 17 00:00:00 2001 From: Koichiro IWAO Date: Fri, 24 Nov 2017 23:35:50 +0900 Subject: xrdp_sec: constify color depth value --- common/xrdp_constants.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'common/xrdp_constants.h') 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 -- cgit v1.2.3