/[rdesktop]/sourceforge.net/trunk/rdesktop/orders.h
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/orders.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 64 by astrand, Thu Jul 18 16:38:31 2002 UTC revision 725 by jsorg71, Sun Jun 27 17:51:54 2004 UTC
# Line 1  Line 1 
1  /*  /*
2     rdesktop: A Remote Desktop Protocol client.     rdesktop: A Remote Desktop Protocol client.
3     RDP order processing     RDP order processing
4     Copyright (C) Matthew Chapman 1999-2000     Copyright (C) Matthew Chapman 1999-2002
5        
6     This program is free software; you can redistribute it and/or modify     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     it under the terms of the GNU General Public License as published by
# Line 46  enum RDP_SECONDARY_ORDER_TYPE Line 46  enum RDP_SECONDARY_ORDER_TYPE
46          RDP_ORDER_RAW_BMPCACHE = 0,          RDP_ORDER_RAW_BMPCACHE = 0,
47          RDP_ORDER_COLCACHE = 1,          RDP_ORDER_COLCACHE = 1,
48          RDP_ORDER_BMPCACHE = 2,          RDP_ORDER_BMPCACHE = 2,
49          RDP_ORDER_FONTCACHE = 3          RDP_ORDER_FONTCACHE = 3,
50            RDP_ORDER_RAW_BMPCACHE2 = 4,
51            RDP_ORDER_BMPCACHE2 = 5
52  };  };
53    
54  typedef struct _DESTBLT_ORDER  typedef struct _DESTBLT_ORDER
55  {  {
56          uint16 x;          sint16 x;
57          uint16 y;          sint16 y;
58          uint16 cx;          sint16 cx;
59          uint16 cy;          sint16 cy;
60          uint8 opcode;          uint8 opcode;
61    
62  }  }
# Line 62  DESTBLT_ORDER; Line 64  DESTBLT_ORDER;
64    
65  typedef struct _PATBLT_ORDER  typedef struct _PATBLT_ORDER
66  {  {
67          uint16 x;          sint16 x;
68          uint16 y;          sint16 y;
69          uint16 cx;          sint16 cx;
70          uint16 cy;          sint16 cy;
71          uint8 opcode;          uint8 opcode;
72          uint8 bgcolour;          uint32 bgcolour;
73          uint8 fgcolour;          uint32 fgcolour;
74          BRUSH brush;          BRUSH brush;
75    
76  }  }
# Line 76  PATBLT_ORDER; Line 78  PATBLT_ORDER;
78    
79  typedef struct _SCREENBLT_ORDER  typedef struct _SCREENBLT_ORDER
80  {  {
81          uint16 x;          sint16 x;
82          uint16 y;          sint16 y;
83          uint16 cx;          sint16 cx;
84          uint16 cy;          sint16 cy;
85          uint8 opcode;          uint8 opcode;
86          uint16 srcx;          sint16 srcx;
87          uint16 srcy;          sint16 srcy;
88    
89  }  }
90  SCREENBLT_ORDER;  SCREENBLT_ORDER;
# Line 90  SCREENBLT_ORDER; Line 92  SCREENBLT_ORDER;
92  typedef struct _LINE_ORDER  typedef struct _LINE_ORDER
93  {  {
94          uint16 mixmode;          uint16 mixmode;
95          uint16 startx;          sint16 startx;
96          uint16 starty;          sint16 starty;
97          uint16 endx;          sint16 endx;
98          uint16 endy;          sint16 endy;
99          uint8 bgcolour;          uint32 bgcolour;
100          uint8 opcode;          uint8 opcode;
101          PEN pen;          PEN pen;
102    
# Line 103  LINE_ORDER; Line 105  LINE_ORDER;
105    
106  typedef struct _RECT_ORDER  typedef struct _RECT_ORDER
107  {  {
108          uint16 x;          sint16 x;
109          uint16 y;          sint16 y;
110          uint16 cx;          sint16 cx;
111          uint16 cy;          sint16 cy;
112          uint8 colour;          uint32 colour;
113    
114  }  }
115  RECT_ORDER;  RECT_ORDER;
# Line 115  RECT_ORDER; Line 117  RECT_ORDER;
117  typedef struct _DESKSAVE_ORDER  typedef struct _DESKSAVE_ORDER
118  {  {
119          uint32 offset;          uint32 offset;
120          uint16 left;          sint16 left;
121          uint16 top;          sint16 top;
122          uint16 right;          sint16 right;
123          uint16 bottom;          sint16 bottom;
124          uint8 action;          uint8 action;
125    
126  }  }
# Line 128  typedef struct _TRIBLT_ORDER Line 130  typedef struct _TRIBLT_ORDER
130  {  {
131          uint8 colour_table;          uint8 colour_table;
132          uint8 cache_id;          uint8 cache_id;
133          uint16 x;          sint16 x;
134          uint16 y;          sint16 y;
135          uint16 cx;          sint16 cx;
136          uint16 cy;          sint16 cy;
137          uint8 opcode;          uint8 opcode;
138          uint16 srcx;          sint16 srcx;
139          uint16 srcy;          sint16 srcy;
140          uint8 bgcolour;          uint32 bgcolour;
141          uint8 fgcolour;          uint32 fgcolour;
142          BRUSH brush;          BRUSH brush;
143          uint16 cache_idx;          uint16 cache_idx;
144          uint16 unknown;          uint16 unknown;
# Line 148  typedef struct _MEMBLT_ORDER Line 150  typedef struct _MEMBLT_ORDER
150  {  {
151          uint8 colour_table;          uint8 colour_table;
152          uint8 cache_id;          uint8 cache_id;
153          uint16 x;          sint16 x;
154          uint16 y;          sint16 y;
155          uint16 cx;          sint16 cx;
156          uint16 cy;          sint16 cy;
157          uint8 opcode;          uint8 opcode;
158          uint16 srcx;          sint16 srcx;
159          uint16 srcy;          sint16 srcy;
160          uint16 cache_idx;          uint16 cache_idx;
161    
162  }  }
# Line 164  MEMBLT_ORDER; Line 166  MEMBLT_ORDER;
166    
167  typedef struct _POLYLINE_ORDER  typedef struct _POLYLINE_ORDER
168  {  {
169          uint16 x;          sint16 x;
170          uint16 y;          sint16 y;
171          uint8 flags;          uint8 opcode;
172          uint8 fgcolour;          uint32 fgcolour;
173          uint8 lines;          uint8 lines;
174          uint8 datasize;          uint8 datasize;
175          uint8 data[MAX_DATA];          uint8 data[MAX_DATA];
# Line 183  typedef struct _TEXT2_ORDER Line 185  typedef struct _TEXT2_ORDER
185          uint8 flags;          uint8 flags;
186          uint8 mixmode;          uint8 mixmode;
187          uint8 unknown;          uint8 unknown;
188          uint8 fgcolour;          uint32 fgcolour;
189          uint8 bgcolour;          uint32 bgcolour;
190          uint16 clipleft;          sint16 clipleft;
191          uint16 cliptop;          sint16 cliptop;
192          uint16 clipright;          sint16 clipright;
193          uint16 clipbottom;          sint16 clipbottom;
194          uint16 boxleft;          sint16 boxleft;
195          uint16 boxtop;          sint16 boxtop;
196          uint16 boxright;          sint16 boxright;
197          uint16 boxbottom;          sint16 boxbottom;
198          uint16 x;          sint16 x;
199          uint16 y;          sint16 y;
200          uint8 length;          uint8 length;
201          uint8 text[MAX_TEXT];          uint8 text[MAX_TEXT];
202    
# Line 252  typedef struct _RDP_BMPCACHE_ORDER Line 254  typedef struct _RDP_BMPCACHE_ORDER
254  }  }
255  RDP_BMPCACHE_ORDER;  RDP_BMPCACHE_ORDER;
256    
257    /* RDP_BMPCACHE2_ORDER */
258    #define ID_MASK                 0x0007
259    #define MODE_MASK               0x0038
260    #define SQUARE                  0x0080
261    #define PERSIST                 0x0100
262    #define FLAG_51_UNKNOWN         0x0800
263    
264    #define MODE_SHIFT              3
265    
266    #define LONG_FORMAT             0x80
267    #define BUFSIZE_MASK            0x3FFF  /* or 0x1FFF? */
268    
269  #define MAX_GLYPH 32  #define MAX_GLYPH 32
270    
271  typedef struct _RDP_FONT_GLYPH  typedef struct _RDP_FONT_GLYPH

Legend:
Removed from v.64  
changed lines
  Added in v.725

  ViewVC Help
Powered by ViewVC 1.1.26