~ubuntu-branches/ubuntu/vivid/freerdp/vivid

« back to all changes in this revision

Viewing changes to include/freerdp/rail.h

  • Committer: Package Import Robot
  • Author(s): Iain Lane
  • Date: 2014-11-11 12:20:50 UTC
  • mfrom: (1.2.5)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: package-import@ubuntu.com-20141111122050-7z628f4ab38qxad5
Tags: upstream-1.1.0~git20140921.1.440916e+dfsg1
ImportĀ upstreamĀ versionĀ 1.1.0~git20140921.1.440916e+dfsg1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
 
 * FreeRDP: A Remote Desktop Protocol Client
 
2
 * FreeRDP: A Remote Desktop Protocol Implementation
3
3
 * Remote Applications Integrated Locally (RAIL)
4
4
 *
5
5
 * Copyright 2011 Marc-Andre Moreau <marcandre.moreau@gmail.com>
18
18
 * limitations under the License.
19
19
 */
20
20
 
21
 
#ifndef __RAIL_GLOBAL_H
22
 
#define __RAIL_GLOBAL_H
 
21
#ifndef FREERDP_RAIL_GLOBAL_H
 
22
#define FREERDP_RAIL_GLOBAL_H
23
23
 
24
24
#include <freerdp/types.h>
25
25
 
150
150
#define TF_SFT_NOEXTRAICONSONMINIMIZED                  0x00000400
151
151
#define TF_SFT_DESKBAND                                 0x00000800
152
152
 
153
 
struct _UNICODE_STRING
 
153
struct _RAIL_UNICODE_STRING
154
154
{
155
 
        uint16 length;
156
 
        uint8* string;
 
155
        UINT16 length;
 
156
        BYTE* string;
157
157
};
158
 
typedef struct _UNICODE_STRING UNICODE_STRING;
 
158
typedef struct _RAIL_UNICODE_STRING RAIL_UNICODE_STRING;
159
159
 
160
160
struct _HIGH_CONTRAST
161
161
{
162
 
        uint32 flags;
163
 
        uint32 colorSchemeLength;
164
 
        UNICODE_STRING colorScheme;
 
162
        UINT32 flags;
 
163
        UINT32 colorSchemeLength;
 
164
        RAIL_UNICODE_STRING colorScheme;
165
165
};
166
166
typedef struct _HIGH_CONTRAST HIGH_CONTRAST;
167
167
 
169
169
 
170
170
struct _RAIL_HANDSHAKE_ORDER
171
171
{
172
 
        uint32 buildNumber;
 
172
        UINT32 buildNumber;
173
173
};
174
174
typedef struct _RAIL_HANDSHAKE_ORDER RAIL_HANDSHAKE_ORDER;
175
175
 
176
176
struct _RAIL_CLIENT_STATUS_ORDER
177
177
{
178
 
        uint32 flags;
 
178
        UINT32 flags;
179
179
};
180
180
typedef struct _RAIL_CLIENT_STATUS_ORDER RAIL_CLIENT_STATUS_ORDER;
181
181
 
182
182
struct _RAIL_EXEC_ORDER
183
183
{
184
 
        uint16 flags;
185
 
        UNICODE_STRING exeOrFile;
186
 
        UNICODE_STRING workingDir;
187
 
        UNICODE_STRING arguments;
 
184
        UINT16 flags;
 
185
        RAIL_UNICODE_STRING exeOrFile;
 
186
        RAIL_UNICODE_STRING workingDir;
 
187
        RAIL_UNICODE_STRING arguments;
188
188
};
189
189
typedef struct _RAIL_EXEC_ORDER RAIL_EXEC_ORDER;
190
190
 
191
191
struct _RAIL_EXEC_RESULT_ORDER
192
192
{
193
 
        uint16 flags;
194
 
        uint16 execResult;
195
 
        uint32 rawResult;
196
 
        UNICODE_STRING exeOrFile;
 
193
        UINT16 flags;
 
194
        UINT16 execResult;
 
195
        UINT32 rawResult;
 
196
        RAIL_UNICODE_STRING exeOrFile;
197
197
};
198
198
typedef struct _RAIL_EXEC_RESULT_ORDER RAIL_EXEC_RESULT_ORDER;
199
199
 
200
200
struct _RAIL_SYSPARAM_ORDER
201
201
{
202
 
        uint32 param;
203
 
        uint32 params;
204
 
        boolean dragFullWindows;
205
 
        boolean keyboardCues;
206
 
        boolean keyboardPref;
207
 
        boolean mouseButtonSwap;
 
202
        UINT32 param;
 
203
        UINT32 params;
 
204
        BOOL dragFullWindows;
 
205
        BOOL keyboardCues;
 
206
        BOOL keyboardPref;
 
207
        BOOL mouseButtonSwap;
208
208
        RECTANGLE_16 workArea;
209
209
        RECTANGLE_16 displayChange;
210
210
        RECTANGLE_16 taskbarPos;
211
211
        HIGH_CONTRAST highContrast;
212
 
        boolean setScreenSaveActive;
213
 
        boolean setScreenSaveSecure;
 
212
        BOOL setScreenSaveActive;
 
213
        BOOL setScreenSaveSecure;
214
214
};
215
215
typedef struct _RAIL_SYSPARAM_ORDER RAIL_SYSPARAM_ORDER;
216
216
 
217
217
struct _RAIL_ACTIVATE_ORDER
218
218
{
219
 
        uint32 windowId;
220
 
        boolean enabled;
 
219
        UINT32 windowId;
 
220
        BOOL enabled;
221
221
};
222
222
typedef struct _RAIL_ACTIVATE_ORDER RAIL_ACTIVATE_ORDER;
223
223
 
224
224
struct _RAIL_SYSMENU_ORDER
225
225
{
226
 
        uint32 windowId;
227
 
        uint16 left;
228
 
        uint16 top;
 
226
        UINT32 windowId;
 
227
        UINT16 left;
 
228
        UINT16 top;
229
229
};
230
230
typedef struct _RAIL_SYSMENU_ORDER RAIL_SYSMENU_ORDER;
231
231
 
232
232
struct _RAIL_SYSCOMMAND_ORDER
233
233
{
234
 
        uint32 windowId;
235
 
        uint16 command;
 
234
        UINT32 windowId;
 
235
        UINT16 command;
236
236
};
237
237
typedef struct _RAIL_SYSCOMMAND_ORDER RAIL_SYSCOMMAND_ORDER;
238
238
 
239
239
struct _RAIL_NOTIFY_EVENT_ORDER
240
240
{
241
 
        uint32 windowId;
242
 
        uint32 notifyIconId;
243
 
        uint32 message;
 
241
        UINT32 windowId;
 
242
        UINT32 notifyIconId;
 
243
        UINT32 message;
244
244
};
245
245
typedef struct _RAIL_NOTIFY_EVENT_ORDER RAIL_NOTIFY_EVENT_ORDER;
246
246
 
247
247
struct _RAIL_MINMAXINFO_ORDER
248
248
{
249
 
        uint32 windowId;
250
 
        uint16 maxWidth;
251
 
        uint16 maxHeight;
252
 
        uint16 maxPosX;
253
 
        uint16 maxPosY;
254
 
        uint16 minTrackWidth;
255
 
        uint16 minTrackHeight;
256
 
        uint16 maxTrackWidth;
257
 
        uint16 maxTrackHeight;
 
249
        UINT32 windowId;
 
250
        UINT16 maxWidth;
 
251
        UINT16 maxHeight;
 
252
        UINT16 maxPosX;
 
253
        UINT16 maxPosY;
 
254
        UINT16 minTrackWidth;
 
255
        UINT16 minTrackHeight;
 
256
        UINT16 maxTrackWidth;
 
257
        UINT16 maxTrackHeight;
258
258
};
259
259
typedef struct _RAIL_MINMAXINFO_ORDER RAIL_MINMAXINFO_ORDER;
260
260
 
261
261
struct _RAIL_LOCALMOVESIZE_ORDER
262
262
{
263
 
        uint32 windowId;
264
 
        boolean isMoveSizeStart;
265
 
        uint16 moveSizeType;
266
 
        uint16 posX;
267
 
        uint16 posY;
 
263
        UINT32 windowId;
 
264
        BOOL isMoveSizeStart;
 
265
        UINT16 moveSizeType;
 
266
        UINT16 posX;
 
267
        UINT16 posY;
268
268
};
269
269
typedef struct _RAIL_LOCALMOVESIZE_ORDER RAIL_LOCALMOVESIZE_ORDER;
270
270
 
271
271
struct _RAIL_WINDOWMOVE_ORDER
272
272
{
273
 
        uint32 windowId;
274
 
        uint16 left;
275
 
        uint16 top;
276
 
        uint16 right;
277
 
        uint16 bottom;
 
273
        UINT32 windowId;
 
274
        UINT16 left;
 
275
        UINT16 top;
 
276
        UINT16 right;
 
277
        UINT16 bottom;
278
278
};
279
279
typedef struct _RAIL_WINDOWMOVE_ORDER RAIL_WINDOW_MOVE_ORDER;
280
280
 
281
281
struct _RAIL_GET_APPID_REQ_ORDER
282
282
{
283
 
        uint32 windowId;
 
283
        UINT32 windowId;
284
284
};
285
285
typedef struct _RAIL_GET_APPID_REQ_ORDER RAIL_GET_APPID_REQ_ORDER;
286
286
 
287
287
struct _RAIL_GET_APPID_RESP_ORDER
288
288
{
289
 
        uint32 windowId;
290
 
        UNICODE_STRING applicationId;
291
 
        uint8 applicationIdBuffer[512];
 
289
        UINT32 windowId;
 
290
        RAIL_UNICODE_STRING applicationId;
 
291
        BYTE applicationIdBuffer[512];
292
292
};
293
293
typedef struct _RAIL_GET_APPID_RESP_ORDER RAIL_GET_APPID_RESP_ORDER;
294
294
 
295
295
struct _RAIL_LANGBARINFO_ORDER
296
296
{
297
 
        uint32 languageBarStatus;
 
297
        UINT32 languageBarStatus;
298
298
};
299
299
typedef struct _RAIL_LANGBARINFO_ORDER RAIL_LANGBAR_INFO_ORDER;
300
300
 
319
319
        RDP_RAIL_ORDER_GET_APPID_RESP   = 0x000F
320
320
};
321
321
 
322
 
enum RDP_EVENT_TYPE_RAIL
323
 
{
324
 
        RDP_EVENT_TYPE_RAIL_CHANNEL_GET_SYSPARAMS = 1,
325
 
        RDP_EVENT_TYPE_RAIL_CHANNEL_EXEC_RESULTS,
326
 
        RDP_EVENT_TYPE_RAIL_CHANNEL_SERVER_SYSPARAM,
327
 
        RDP_EVENT_TYPE_RAIL_CHANNEL_SERVER_MINMAXINFO,
328
 
        RDP_EVENT_TYPE_RAIL_CHANNEL_SERVER_LOCALMOVESIZE,
329
 
        RDP_EVENT_TYPE_RAIL_CHANNEL_APPID_RESP,
330
 
        RDP_EVENT_TYPE_RAIL_CHANNEL_LANGBARINFO,
331
 
 
332
 
        RDP_EVENT_TYPE_RAIL_CLIENT_SET_SYSPARAMS,
333
 
        RDP_EVENT_TYPE_RAIL_CLIENT_EXEC_REMOTE_APP,
334
 
        RDP_EVENT_TYPE_RAIL_CLIENT_ACTIVATE,
335
 
        RDP_EVENT_TYPE_RAIL_CLIENT_SYSMENU,
336
 
        RDP_EVENT_TYPE_RAIL_CLIENT_SYSCOMMAND,
337
 
        RDP_EVENT_TYPE_RAIL_CLIENT_NOTIFY_EVENT,
338
 
        RDP_EVENT_TYPE_RAIL_CLIENT_WINDOW_MOVE,
339
 
        RDP_EVENT_TYPE_RAIL_CLIENT_APPID_REQ,
340
 
        RDP_EVENT_TYPE_RAIL_CLIENT_LANGBARINFO
341
 
};
342
 
 
343
 
#endif /* __RAIL_GLOBAL_H */
344
 
 
 
322
#endif /* FREERDP_RAIL_GLOBAL_H */