Blame include/freerdp/types.h

Packit Service fa4841
/**
Packit Service fa4841
 * FreeRDP: A Remote Desktop Protocol Implementation
Packit Service fa4841
 * Type Definitions
Packit Service fa4841
 *
Packit Service fa4841
 * Copyright 2009-2011 Jay Sorg
Packit Service fa4841
 * Copyright 2011 Marc-Andre Moreau <marcandre.moreau@gmail.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_TYPES_H
Packit Service fa4841
#define FREERDP_TYPES_H
Packit Service fa4841
Packit Service fa4841
#include <winpr/wtypes.h>
Packit Service fa4841
#include <winpr/wtsapi.h>
Packit Service fa4841
Packit Service fa4841
#ifndef MIN
Packit Service b1ea74
#define MIN(x, y) (((x) < (y)) ? (x) : (y))
Packit Service fa4841
#endif
Packit Service fa4841
Packit Service fa4841
#ifndef MAX
Packit Service b1ea74
#define MAX(x, y) (((x) > (y)) ? (x) : (y))
Packit Service fa4841
#endif
Packit Service fa4841
Packit Service fa4841
struct _PALETTE_ENTRY
Packit Service fa4841
{
Packit Service fa4841
	BYTE red;
Packit Service fa4841
	BYTE green;
Packit Service fa4841
	BYTE blue;
Packit Service fa4841
};
Packit Service fa4841
typedef struct _PALETTE_ENTRY PALETTE_ENTRY;
Packit Service fa4841
Packit Service fa4841
struct rdp_palette
Packit Service fa4841
{
Packit Service fa4841
	UINT32 count;
Packit Service fa4841
	PALETTE_ENTRY entries[256];
Packit Service fa4841
};
Packit Service fa4841
typedef struct rdp_palette rdpPalette;
Packit Service fa4841
Packit Service fa4841
#include <freerdp/settings.h>
Packit Service fa4841
Packit Service fa4841
struct _RDP_PLUGIN_DATA
Packit Service fa4841
{
Packit Service fa4841
	DWORD size;
Packit Service fa4841
	void* data[4];
Packit Service fa4841
};
Packit Service fa4841
typedef struct _RDP_PLUGIN_DATA RDP_PLUGIN_DATA;
Packit Service fa4841
Packit Service fa4841
struct _RDP_RECT
Packit Service fa4841
{
Packit Service fa4841
	INT16 x;
Packit Service fa4841
	INT16 y;
Packit Service fa4841
	INT16 width;
Packit Service fa4841
	INT16 height;
Packit Service fa4841
};
Packit Service fa4841
typedef struct _RDP_RECT RDP_RECT;
Packit Service fa4841
Packit Service fa4841
struct _RECTANGLE_16
Packit Service fa4841
{
Packit Service fa4841
	UINT16 left;
Packit Service fa4841
	UINT16 top;
Packit Service fa4841
	UINT16 right;
Packit Service fa4841
	UINT16 bottom;
Packit Service fa4841
};
Packit Service fa4841
typedef struct _RECTANGLE_16 RECTANGLE_16;
Packit Service fa4841
Packit Service fa4841
/* Plugin events */
Packit Service fa4841
Packit Service fa4841
#include <freerdp/message.h>
Packit Service fa4841
#include <winpr/collections.h>
Packit Service fa4841
Packit Service fa4841
#endif /* __RDP_TYPES_H */