2
* FreeRDP: A Remote Desktop Protocol Client
2
* FreeRDP: A Remote Desktop Protocol Implementation
3
3
* Alternate Secondary Drawing Orders Interface API
5
5
* Copyright 2011 Marc-Andre Moreau <marcandre.moreau@gmail.com>
17
17
* limitations under the License.
20
#ifndef __UPDATE_ALTSEC_H
21
#define __UPDATE_ALTSEC_H
20
#ifndef FREERDP_UPDATE_ALTSEC_H
21
#define FREERDP_UPDATE_ALTSEC_H
23
23
#include <freerdp/types.h>
39
39
struct _OFFSCREEN_DELETE_LIST
45
45
typedef struct _OFFSCREEN_DELETE_LIST OFFSCREEN_DELETE_LIST;
47
47
struct _CREATE_OFFSCREEN_BITMAP_ORDER
52
52
OFFSCREEN_DELETE_LIST deleteList;
54
54
typedef struct _CREATE_OFFSCREEN_BITMAP_ORDER CREATE_OFFSCREEN_BITMAP_ORDER;
56
56
struct _SWITCH_SURFACE_ORDER
60
60
typedef struct _SWITCH_SURFACE_ORDER SWITCH_SURFACE_ORDER;
62
62
struct _NINE_GRID_BITMAP_INFO
68
uint32 ulBottomHeight;
68
UINT32 ulBottomHeight;
71
71
typedef struct _NINE_GRID_BITMAP_INFO NINE_GRID_BITMAP_INFO;
73
73
struct _CREATE_NINE_GRID_BITMAP_ORDER
79
79
NINE_GRID_BITMAP_INFO nineGridInfo;
81
81
typedef struct _CREATE_NINE_GRID_BITMAP_ORDER CREATE_NINE_GRID_BITMAP_ORDER;
83
83
struct _FRAME_MARKER_ORDER
87
87
typedef struct _FRAME_MARKER_ORDER FRAME_MARKER_ORDER;
89
89
struct _STREAM_BITMAP_FIRST_ORDER
97
uint32 bitmapBlockSize;
97
UINT32 bitmapBlockSize;
100
100
typedef struct _STREAM_BITMAP_FIRST_ORDER STREAM_BITMAP_FIRST_ORDER;
102
102
struct _STREAM_BITMAP_NEXT_ORDER
106
uint32 bitmapBlockSize;
106
UINT32 bitmapBlockSize;
109
109
typedef struct _STREAM_BITMAP_NEXT_ORDER STREAM_BITMAP_NEXT_ORDER;
111
111
struct _DRAW_GDIPLUS_FIRST_ORDER
115
uint32 cbTotalEmfSize;
115
UINT32 cbTotalEmfSize;
118
118
typedef struct _DRAW_GDIPLUS_FIRST_ORDER DRAW_GDIPLUS_FIRST_ORDER;
120
120
struct _DRAW_GDIPLUS_NEXT_ORDER
125
125
typedef struct _DRAW_GDIPLUS_NEXT_ORDER DRAW_GDIPLUS_NEXT_ORDER;
127
127
struct _DRAW_GDIPLUS_END_ORDER
131
uint32 cbTotalEmfSize;
131
UINT32 cbTotalEmfSize;
134
134
typedef struct _DRAW_GDIPLUS_END_ORDER DRAW_GDIPLUS_END_ORDER;
136
136
struct _DRAW_GDIPLUS_CACHE_FIRST_ORDER
145
145
typedef struct _DRAW_GDIPLUS_CACHE_FIRST_ORDER DRAW_GDIPLUS_CACHE_FIRST_ORDER;
147
147
struct _DRAW_GDIPLUS_CACHE_NEXT_ORDER
155
155
typedef struct _DRAW_GDIPLUS_CACHE_NEXT_ORDER DRAW_GDIPLUS_CACHE_NEXT_ORDER;
157
157
struct _DRAW_GDIPLUS_CACHE_END_ORDER
166
166
typedef struct _DRAW_GDIPLUS_CACHE_END_ORDER DRAW_GDIPLUS_CACHE_END_ORDER;
170
170
typedef void (*pCreateNineGridBitmap)(rdpContext* context, CREATE_NINE_GRID_BITMAP_ORDER* create_nine_grid_bitmap);
171
171
typedef void (*pFrameMarker)(rdpContext* context, FRAME_MARKER_ORDER* frame_marker);
172
172
typedef void (*pStreamBitmapFirst)(rdpContext* context, STREAM_BITMAP_FIRST_ORDER* stream_bitmap_first);
173
typedef void (*pStreamBitmapNext)(rdpContext* context, STREAM_BITMAP_FIRST_ORDER* stream_bitmap_next);
173
typedef void (*pStreamBitmapNext)(rdpContext* context, STREAM_BITMAP_NEXT_ORDER* stream_bitmap_next);
174
174
typedef void (*pDrawGdiPlusFirst)(rdpContext* context, DRAW_GDIPLUS_FIRST_ORDER* draw_gdiplus_first);
175
175
typedef void (*pDrawGdiPlusNext)(rdpContext* context, DRAW_GDIPLUS_NEXT_ORDER* draw_gdiplus_next);
176
176
typedef void (*pDrawGdiPlusEnd)(rdpContext* context, DRAW_GDIPLUS_END_ORDER* draw_gdiplus_end);
181
181
struct rdp_altsec_update
183
183
rdpContext* context; /* 0 */
184
uint32 paddingA[16 - 1]; /* 1 */
184
UINT32 paddingA[16 - 1]; /* 1 */
186
186
pCreateOffscreenBitmap CreateOffscreenBitmap; /* 16 */
187
187
pSwitchSurface SwitchSurface; /* 17 */
195
195
pDrawGdiPlusCacheFirst DrawGdiPlusCacheFirst; /* 25 */
196
196
pDrawGdiPlusCacheNext DrawGdiPlusCacheNext; /* 26 */
197
197
pDrawGdiPlusCacheEnd DrawGdiPlusCacheEnd; /* 27 */
198
uint32 paddingB[32 - 28]; /* 28 */
198
UINT32 paddingB[32 - 28]; /* 28 */
204
204
CREATE_NINE_GRID_BITMAP_ORDER create_nine_grid_bitmap;
205
205
FRAME_MARKER_ORDER frame_marker;
206
206
STREAM_BITMAP_FIRST_ORDER stream_bitmap_first;
207
STREAM_BITMAP_FIRST_ORDER stream_bitmap_next;
207
STREAM_BITMAP_NEXT_ORDER stream_bitmap_next;
208
208
DRAW_GDIPLUS_CACHE_FIRST_ORDER draw_gdiplus_cache_first;
209
209
DRAW_GDIPLUS_CACHE_NEXT_ORDER draw_gdiplus_cache_next;
210
210
DRAW_GDIPLUS_CACHE_END_ORDER draw_gdiplus_cache_end;