Blame include/freerdp/channels/geometry.h

Packit Service fa4841
/**
Packit Service fa4841
 * FreeRDP: A Remote Desktop Protocol Implementation
Packit Service fa4841
 * Geometry tracking Virtual Channel Extension
Packit Service fa4841
 *
Packit Service fa4841
 * Copyright 2017 David Fort <contact@hardening-consulting.com>
Packit Service fa4841
 *
Packit Service fa4841
 * Licensed under the Apache License, Version 2.0 (the "License");
Packit Service fa4841
 * you may not use this file except in compliance with the License.
Packit Service fa4841
 * You may obtain a copy of the License at
Packit Service fa4841
 *
Packit Service fa4841
 *     http://www.apache.org/licenses/LICENSE-2.0
Packit Service fa4841
 *
Packit Service fa4841
 * Unless required by applicable law or agreed to in writing, software
Packit Service fa4841
 * distributed under the License is distributed on an "AS IS" BASIS,
Packit Service fa4841
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Packit Service fa4841
 * See the License for the specific language governing permissions and
Packit Service fa4841
 * limitations under the License.
Packit Service fa4841
 */
Packit Service fa4841
Packit Service fa4841
#ifndef FREERDP_CHANNEL_GEOMETRY_H
Packit Service fa4841
#define FREERDP_CHANNEL_GEOMETRY_H
Packit Service fa4841
Packit Service fa4841
#include <winpr/wtypes.h>
Packit Service fa4841
#include <freerdp/types.h>
Packit Service fa4841
Packit Service fa4841
#define GEOMETRY_DVC_CHANNEL_NAME "Microsoft::Windows::RDS::Geometry::v08.01"
Packit Service fa4841
Packit Service fa4841
enum
Packit Service fa4841
{
Packit Service b1ea74
	GEOMETRY_UPDATE = 1,
Packit Service b1ea74
	GEOMETRY_CLEAR = 2
Packit Service fa4841
};
Packit Service fa4841
Packit Service fa4841
enum
Packit Service fa4841
{
Packit Service fa4841
	RDH_RECTANGLE = 1
Packit Service fa4841
};
Packit Service fa4841
Packit Service fa4841
struct _FREERDP_RGNDATA
Packit Service fa4841
{
Packit Service fa4841
	RDP_RECT boundingRect;
Packit Service fa4841
	UINT32 nRectCount;
Packit Service b1ea74
	RDP_RECT* rects;
Packit Service fa4841
};
Packit Service fa4841
Packit Service fa4841
typedef struct _FREERDP_RGNDATA FREERDP_RGNDATA;
Packit Service fa4841
Packit Service fa4841
struct _MAPPED_GEOMETRY_PACKET
Packit Service fa4841
{
Packit Service fa4841
	UINT32 version;
Packit Service fa4841
	UINT64 mappingId;
Packit Service fa4841
	UINT32 updateType;
Packit Service fa4841
	UINT64 topLevelId;
Packit Service fa4841
	INT32 left, top, right, bottom;
Packit Service fa4841
	INT32 topLevelLeft, topLevelTop, topLevelRight, topLevelBottom;
Packit Service fa4841
	UINT32 geometryType;
Packit Service fa4841
Packit Service fa4841
	FREERDP_RGNDATA geometry;
Packit Service fa4841
};
Packit Service fa4841
Packit Service fa4841
typedef struct _MAPPED_GEOMETRY_PACKET MAPPED_GEOMETRY_PACKET;
Packit Service fa4841
Packit Service fa4841
#endif /* FREERDP_CHANNEL_GEOMETRY_H */