orders.h revision d65680efa46fa49e8bf14e67b29b782510ff934c
/*
rdesktop: A Remote Desktop Protocol client.
RDP order processing
Copyright (C) Matthew Chapman 1999-2007
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*
* Sun GPL Disclaimer: For the avoidance of doubt, except that if any license choice
* other than GPL or LGPL is available it will apply instead, Sun elects to use only
* the General Public License version 2 (GPLv2) at this time for any software where
* a choice of GPL license versions is made available with the language indicating
* that GPLv2 or any later version may be used, or where a choice of which version
* of the GPL is applied is otherwise unspecified.
*/
#define RDP_ORDER_STANDARD 0x01
#define RDP_ORDER_SECONDARY 0x02
#define RDP_ORDER_BOUNDS 0x04
#define RDP_ORDER_CHANGE 0x08
#define RDP_ORDER_DELTA 0x10
#define RDP_ORDER_LASTBOUNDS 0x20
#define RDP_ORDER_SMALL 0x40
#define RDP_ORDER_TINY 0x80
enum RDP_ORDER_TYPE
{
RDP_ORDER_DESTBLT = 0,
RDP_ORDER_PATBLT = 1,
RDP_ORDER_SCREENBLT = 2,
RDP_ORDER_LINE = 9,
RDP_ORDER_RECT = 10,
RDP_ORDER_DESKSAVE = 11,
RDP_ORDER_MEMBLT = 13,
RDP_ORDER_TRIBLT = 14,
RDP_ORDER_POLYGON = 20,
RDP_ORDER_POLYGON2 = 21,
RDP_ORDER_POLYLINE = 22,
RDP_ORDER_ELLIPSE = 25,
RDP_ORDER_ELLIPSE2 = 26,
RDP_ORDER_TEXT2 = 27
};
{
RDP_ORDER_COLCACHE = 1,
RDP_ORDER_BMPCACHE = 2,
RDP_ORDER_FONTCACHE = 3,
RDP_ORDER_BMPCACHE2 = 5,
};
typedef struct _DESTBLT_ORDER
{
sint16 x;
sint16 y;
}
typedef struct _PATBLT_ORDER
{
sint16 x;
sint16 y;
}
typedef struct _SCREENBLT_ORDER
{
sint16 x;
sint16 y;
}
typedef struct _LINE_ORDER
{
}
typedef struct _RECT_ORDER
{
sint16 x;
sint16 y;
}
typedef struct _DESKSAVE_ORDER
{
}
typedef struct _TRIBLT_ORDER
{
sint16 x;
sint16 y;
}
typedef struct _MEMBLT_ORDER
{
sint16 x;
sint16 y;
}
#define MAX_DATA 256
typedef struct _POLYGON_ORDER
{
sint16 x;
sint16 y;
}
typedef struct _POLYGON2_ORDER
{
sint16 x;
sint16 y;
}
typedef struct _POLYLINE_ORDER
{
sint16 x;
sint16 y;
}
typedef struct _ELLIPSE_ORDER
{
}
typedef struct _ELLIPSE2_ORDER
{
}
#define MAX_TEXT 256
typedef struct _TEXT2_ORDER
{
sint16 x;
sint16 y;
}
typedef struct _RDP_ORDER_STATE
{
}
typedef struct _RDP_RAW_BMPCACHE_ORDER
{
}
typedef struct _RDP_BMPCACHE_ORDER
{
}
/* RDP_BMPCACHE2_ORDER */
#define ID_MASK 0x0007
#define MODE_MASK 0x0038
#define SQUARE 0x0080
#define PERSIST 0x0100
#define FLAG_51_UNKNOWN 0x0800
#define MODE_SHIFT 3
#define LONG_FORMAT 0x80
#define MAX_GLYPH 32
typedef struct _RDP_FONT_GLYPH
{
}
#define MAX_GLYPHS 256
typedef struct _RDP_FONTCACHE_ORDER
{
}
typedef struct _RDP_COLCACHE_ORDER
{
}