2
* FreeRDP: A Remote Desktop Protocol Client
2
* FreeRDP: A Remote Desktop Protocol Implementation
3
3
* Window 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_WINDOW_H
21
#define __UPDATE_WINDOW_H
20
#ifndef FREERDP_UPDATE_WINDOW_H
21
#define FREERDP_UPDATE_WINDOW_H
23
23
#include <freerdp/types.h>
29
25
/* Window Order Header Flags */
30
26
#define WINDOW_ORDER_TYPE_WINDOW 0x01000000
31
27
#define WINDOW_ORDER_TYPE_NOTIFY 0x02000000
124
120
#define WS_EX_WINDOWEDGE 0x00000100
124
* This is a custom extended window style used by XRDP
125
* instructing the client to use local window decorations
128
#define WS_EX_DECORATIONS 0x40000000
127
130
struct _WINDOW_ORDER_INFO
133
136
typedef struct _WINDOW_ORDER_INFO WINDOW_ORDER_INFO;
135
138
struct _ICON_INFO
149
152
typedef struct _ICON_INFO ICON_INFO;
151
154
struct _CACHED_ICON_INFO
156
159
typedef struct _CACHED_ICON_INFO CACHED_ICON_INFO;
158
161
struct _NOTIFY_ICON_INFOTIP
163
UNICODE_STRING title;
165
RAIL_UNICODE_STRING text;
166
RAIL_UNICODE_STRING title;
165
168
typedef struct _NOTIFY_ICON_INFOTIP NOTIFY_ICON_INFOTIP;
167
170
struct _WINDOW_STATE_ORDER
169
uint32 ownerWindowId;
171
uint32 extendedStyle;
173
UNICODE_STRING titleInfo;
174
uint32 clientOffsetX;
175
uint32 clientOffsetY;
176
uint32 clientAreaWidth;
177
uint32 clientAreaHeight;
179
uint32 rootParentHandle;
180
uint32 windowOffsetX;
181
uint32 windowOffsetY;
182
uint32 windowClientDeltaX;
183
uint32 windowClientDeltaY;
186
uint32 numWindowRects;
172
UINT32 ownerWindowId;
174
UINT32 extendedStyle;
176
RAIL_UNICODE_STRING titleInfo;
177
UINT32 clientOffsetX;
178
UINT32 clientOffsetY;
179
UINT32 clientAreaWidth;
180
UINT32 clientAreaHeight;
182
UINT32 rootParentHandle;
183
UINT32 windowOffsetX;
184
UINT32 windowOffsetY;
185
UINT32 windowClientDeltaX;
186
UINT32 windowClientDeltaY;
189
UINT32 numWindowRects;
187
190
RECTANGLE_16* windowRects;
188
uint32 visibleOffsetX;
189
uint32 visibleOffsetY;
190
uint32 numVisibilityRects;
191
UINT32 visibleOffsetX;
192
UINT32 visibleOffsetY;
193
UINT32 numVisibilityRects;
191
194
RECTANGLE_16* visibilityRects;
193
196
typedef struct _WINDOW_STATE_ORDER WINDOW_STATE_ORDER;
237
240
struct rdp_window_update
239
242
rdpContext* context; /* 0 */
240
uint32 paddingA[16 - 1]; /* 1 */
243
UINT32 paddingA[16 - 1]; /* 1 */
242
245
pWindowCreate WindowCreate; /* 16 */
243
246
pWindowUpdate WindowUpdate; /* 17 */
249
252
pNotifyIconDelete NotifyIconDelete; /* 23 */
250
253
pMonitoredDesktop MonitoredDesktop; /* 24 */
251
254
pNonMonitoredDesktop NonMonitoredDesktop; /* 25 */
252
uint32 paddingB[32 - 26]; /* 26 */
255
UINT32 paddingB[32 - 26]; /* 26 */