2
rdesktop: A Remote Desktop Protocol client.
4
Copyright (C) Matthew Chapman 1999-2002
6
This program is free software; you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation; either version 2 of the License, or
9
(at your option) any later version.
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
16
You should have received a copy of the GNU General Public License
17
along with this program; if not, write to the Free Software
18
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21
#define RDP_ORDER_STANDARD 0x01
22
#define RDP_ORDER_SECONDARY 0x02
23
#define RDP_ORDER_BOUNDS 0x04
24
#define RDP_ORDER_CHANGE 0x08
25
#define RDP_ORDER_DELTA 0x10
26
#define RDP_ORDER_LASTBOUNDS 0x20
27
#define RDP_ORDER_SMALL 0x40
28
#define RDP_ORDER_TINY 0x80
32
RDP_ORDER_DESTBLT = 0,
34
RDP_ORDER_SCREENBLT = 2,
37
RDP_ORDER_DESKSAVE = 11,
38
RDP_ORDER_MEMBLT = 13,
39
RDP_ORDER_TRIBLT = 14,
40
RDP_ORDER_POLYLINE = 22,
44
enum RDP_SECONDARY_ORDER_TYPE
46
RDP_ORDER_RAW_BMPCACHE = 0,
47
RDP_ORDER_COLCACHE = 1,
48
RDP_ORDER_BMPCACHE = 2,
49
RDP_ORDER_FONTCACHE = 3
52
typedef struct _DESTBLT_ORDER
63
typedef struct _PATBLT_ORDER
77
typedef struct _SCREENBLT_ORDER
90
typedef struct _LINE_ORDER
104
typedef struct _RECT_ORDER
115
typedef struct _DESKSAVE_ORDER
127
typedef struct _TRIBLT_ORDER
147
typedef struct _MEMBLT_ORDER
165
typedef struct _POLYLINE_ORDER
173
uint8 data[MAX_DATA];
180
typedef struct _TEXT2_ORDER
199
uint8 text[MAX_TEXT];
204
typedef struct _RDP_ORDER_STATE
209
DESTBLT_ORDER destblt;
211
SCREENBLT_ORDER screenblt;
214
DESKSAVE_ORDER desksave;
217
POLYLINE_ORDER polyline;
223
typedef struct _RDP_RAW_BMPCACHE_ORDER
235
RDP_RAW_BMPCACHE_ORDER;
237
typedef struct _RDP_BMPCACHE_ORDER
257
typedef struct _RDP_FONT_GLYPH
264
uint8 data[MAX_GLYPH];
269
#define MAX_GLYPHS 256
271
typedef struct _RDP_FONTCACHE_ORDER
275
RDP_FONT_GLYPH glyphs[MAX_GLYPHS];
280
typedef struct _RDP_COLCACHE_ORDER