20 #ifndef FREERDP_CHANNELS_CLIENT_GEOMETRY_H
21 #define FREERDP_CHANNELS_CLIENT_GEOMETRY_H
23 #include <winpr/collections.h>
24 #include <freerdp/api.h>
25 #include <freerdp/channels/geometry.h>
38 typedef BOOL (*pcMappedGeometryAdded)(GeometryClientContext* context,
39 MAPPED_GEOMETRY* geometry);
40 typedef BOOL (*pcMappedGeometryUpdate)(MAPPED_GEOMETRY* geometry);
41 typedef BOOL (*pcMappedGeometryClear)(MAPPED_GEOMETRY* geometry);
46 volatile LONG refCounter;
49 INT32 left, top, right, bottom;
50 INT32 topLevelLeft, topLevelTop, topLevelRight, topLevelBottom;
54 pcMappedGeometryUpdate MappedGeometryUpdate;
55 pcMappedGeometryClear MappedGeometryClear;
61 wHashTable* geometries;
65 pcMappedGeometryAdded MappedGeometryAdded;
69 FREERDP_API
void mappedGeometryRef(MAPPED_GEOMETRY* g);
70 FREERDP_API
void mappedGeometryUnref(MAPPED_GEOMETRY* g);
a geometry record tracked by the geometry channel
the geometry context for client channel