diff options
author | Koichiro IWAO <meta@vmeta.jp> | 2018-10-25 12:58:46 +0900 |
---|---|---|
committer | Koichiro IWAO <meta@vmeta.jp> | 2018-11-27 15:08:22 +0900 |
commit | 43f6ac07232c9a14ca855ae802b0ed988d36e0e7 (patch) | |
tree | 271c9e4011357b13abf81bb419375be71e267bd8 /common | |
parent | fcb1b825c578e4ddc737f276819c798166bbb56c (diff) | |
download | xrdp-proprietary-43f6ac07232c9a14ca855ae802b0ed988d36e0e7.tar.gz xrdp-proprietary-43f6ac07232c9a14ca855ae802b0ed988d36e0e7.zip |
use MS name for constants
Diffstat (limited to 'common')
-rw-r--r-- | common/xrdp_constants.h | 109 |
1 files changed, 53 insertions, 56 deletions
diff --git a/common/xrdp_constants.h b/common/xrdp_constants.h index 98bd8371..2b229eae 100644 --- a/common/xrdp_constants.h +++ b/common/xrdp_constants.h @@ -417,85 +417,82 @@ /* Maps to generalCapabilitySet in T.128 page 138 */ /* Capability Set: capabilitySetType (MS-RDPBCGR 2.2.1.13.1.1.1) */ -/* TODO: to be renamed */ -#define RDP_CAPSET_GENERAL 0x0001 -#define RDP_CAPLEN_GENERAL 0x18 - -#define RDP_CAPSET_BITMAP 0x0002 -#define RDP_CAPLEN_BITMAP 0x1C - -#define RDP_CAPSET_ORDER 0x0003 -#define RDP_CAPLEN_ORDER 0x58 -#define ORDER_CAP_NEGOTIATE 2 -#define ORDER_CAP_NOSUPPORT 4 +#define CAPSTYPE_GENERAL 0x0001 +#define CAPSTYPE_GENERAL_LEN 0x18 -#define RDP_CAPSET_BMPCACHE 0x0004 -#define RDP_CAPLEN_BMPCACHE 0x28 +#define CAPSTYPE_BITMAP 0x0002 +#define CAPSTYPE_BITMAP_LEN 0x1C -#define RDP_CAPSET_CONTROL 0x0005 -#define RDP_CAPLEN_CONTROL 0x0C +#define CAPSTYPE_ORDER 0x0003 +#define CAPSTYPE_ORDER_LEN 0x58 +#define ORDER_CAP_NEGOTIATE 2 /* NEGOTIATEORDERSUPPORT? not used */ +#define ORDER_CAP_NOSUPPORT 4 /* not used */ -#define RDP_CAPSET_ACTIVATE 0x0007 -#define RDP_CAPLEN_ACTIVATE 0x0C +#define CAPSTYPE_BITMACACHE 0x0004 +#define CAPSTYPE_BITMAPCACHE_LEN 0x28 -#define RDP_CAPSET_POINTER 0x0008 -#define RDP_CAPLEN_POINTER 0x0a -#define RDP_CAPLEN_POINTER_MONO 0x08 +#define CAPSTYPE_CONTROL 0x0005 +#define CAPSTYPE_CONTROL_LEN 0x0C -#define RDP_CAPSET_SHARE 0x0009 -#define RDP_CAPLEN_SHARE 0x08 +#define CAPSTYPE_ACTIVATION 0x0007 +#define CAPSTYPE_ACTIVATION_LEN 0x0C -#define RDP_CAPSET_COLCACHE 0x000A -#define RDP_CAPLEN_COLCACHE 0x08 +#define CAPSTYPE_POINTER 0x0008 +#define CAPSTYPE_POINTER_LEN 0x0a +#define CAPSTYPE_POINTER_MONO_LEN 0x08 -#define RDP_CAPSET_SOUND 0x000C +#define CAPSTYPE_SHARE 0x0009 +#define CAPSTYPE_SHARE_LEN 0x08 -#define RDP_CAPSET_INPUT 0x000D -#define RDP_CAPLEN_INPUT 0x58 +#define CAPSTYPE_COLORCACHE 0x000A +#define CAPSTYPE_COLORCACHE_LEN 0x08 -#define RDP_CAPSET_FONT 0x000E -#define RDP_CAPLEN_FONT 0x04 +#define CAPSTYPE_SOUND 0x000C -#define RDP_CAPSET_BRUSHCACHE 0x000F -#define RDP_CAPLEN_BRUSHCACHE 0x08 +#define CAPSTYPE_INPUT 0x000D +#define CAPSTYPE_INPUT_LEN 0x58 -#define RDP_CAPSET_GLYPHCACHE 0x0010 -#define RDP_CAPSET_OFFSCREENCACHE 0x0011 +#define CAPSTYPE_FONT 0x000E +#define CAPSTYPE_FONT_LEN 0x04 -#define RDP_CAPSET_BITMAP_OFFSCREEN 0x0012 -#define RDP_CAPLEN_BITMAP_OFFSCREEN 0x08 +#define CAPSTYPE_BRUSH 0x000F +#define CAPSTYPE_BRUSH_LEN 0x08 -#define RDP_CAPSET_BMPCACHE2 0x0013 -#define RDP_CAPLEN_BMPCACHE2 0x28 -#define BMPCACHE2_FLAG_PERSIST ((long)1<<31) +#define CAPSTYPE_GLYPHCACHE 0x0010 +#define CAPSTYPE_OFFSCREENCACHE 0x0011 -#define RDP_CAPSET_VIRCHAN 0x0014 -#define RDP_CAPLEN_VIRCHAN 0x08 +#define CAPSTYPE_BITMAPCACHE_HOSTSUPPORT 0x0012 +#define CAPSTYPE_BITMAPCACHE_HOSTSUPPORT_LEN 0x08 -#define RDP_CAPSET_DRAWNINEGRIDCACHE 0x0015 -#define RDP_CAPSET_DRAWGDIPLUS 0x0016 -#define RDP_CAPSET_RAIL 0x0017 -#define RDP_CAPSET_WINDOW 0x0018 +#define CAPSTYPE_BITMAPCACHE_REV2 0x0013 +#define CAPSTYPE_BITMAPCACHE_REV2_LEN 0x28 +#define BMPCACHE2_FLAG_PERSIST ((long)1<<31) -#define RDP_CAPSET_COMPDESK 0x0019 -#define RDP_CAPLEN_COMPDESK 0x06 +#define CAPSTYPE_VIRTUALCHANNEL 0x0014 +#define CAPSTYPE_VIRTUALCHANNEL_LEN 0x08 -#define RDP_CAPSET_MULTIFRAGMENT 0x001A -#define RDP_CAPLEN_MULTIFRAGMENT 0x08 +#define CAPSTYPE_DRAWNINGRIDCACHE 0x0015 +#define CAPSTYPE_DRAWGDIPLUS 0x0016 +#define CAPSTYPE_RAIL 0x0017 +#define CAPSTYPE_WINDOW 0x0018 -#define RDP_CAPSET_LPOINTER 0x001B -#define RDP_CAPLEN_LPOINTER 0x06 +#define CAPSSETTYPE_COMPDESK 0x0019 +#define CAPSSETTYPE_COMPDESK_LEN 0x06 -#define RDP_CAPSET_FRAME_ACKNOWLEDGE 0x001E -#define RDP_CAPLEN_FRAME_ACKNOWLEDGE 0x08 +#define CAPSSETTYPE_MULTIFRAGMENTUPDATE 0x001A +#define CAPSSETTYPE_MULTIFRAGMENTUPDATE_LEN 0x08 -#define RDP_CAPSET_SURFCMDS 0x001C -#define RDP_CAPLEN_SURFCMDS 0x0C +#define CAPSETTYPE_LARGE_POINTER 0x001B +#define CAPSETTYPE_LARGE_POINTER_LEN 0x06 -#define RDP_CAPSET_BMPCODECS 0x001D -#define RDP_CAPLEN_BMPCODECS 0x1C +#define CAPSETTYPE_SURFACE_COMMANDS 0x001C +#define CAPSETTYPE_SURFACE_COMMANDS_LEN 0x0C +#define CAPSSETTYPE_BITMAP_CODECS 0x001D +#define CAPSSETTYPE_BITMAP_CODECS_LEN 0x1C +#define CAPSTYPE_FRAME_ACKNOWLEDGE 0x001E +#define CAPSTYPE_FRAME_ACKNOWLEDGE_LEN 0x08 /* TS_SECURITY_HEADER: flags (MS-RDPBCGR 2.2.8.1.1.2.1) */ /* TODO: to be renamed */ |