FreeRDP
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
channels/geometry.h
1
20#ifndef FREERDP_CHANNEL_GEOMETRY_H
21#define FREERDP_CHANNEL_GEOMETRY_H
22
23#include <winpr/wtypes.h>
24#include <freerdp/types.h>
25
30#define GEOMETRY_CHANNEL_NAME "geometry"
31#define GEOMETRY_DVC_CHANNEL_NAME "Microsoft::Windows::RDS::Geometry::v08.01"
32
33#ifdef __cplusplus
34extern "C"
35{
36#endif
37
38 enum
39 {
40 GEOMETRY_UPDATE = 1,
41 GEOMETRY_CLEAR = 2
42 };
43
44 enum
45 {
46 RDH_RECTANGLE = 1
47 };
48
49 typedef struct
50 {
51 RDP_RECT boundingRect;
52 UINT32 nRectCount;
53 RDP_RECT* rects;
55
56 typedef struct
57 {
58 UINT32 version;
59 UINT64 mappingId;
60 UINT32 updateType;
61 UINT64 topLevelId;
62 INT32 left, top, right, bottom;
63 INT32 topLevelLeft, topLevelTop, topLevelRight, topLevelBottom;
64 UINT32 geometryType;
65
66 FREERDP_RGNDATA geometry;
68
69#ifdef __cplusplus
70}
71#endif
72
73#endif /* FREERDP_CHANNEL_GEOMETRY_H */