constants.h (1914B)
1/** 2 * FreeRDP: A Remote Desktop Protocol Implementation 3 * RDP Constants 4 * 5 * Copyright 2011 Marc-Andre Moreau <marcandre.moreau@gmail.com> 6 * 7 * Licensed under the Apache License, Version 2.0 (the "License"); 8 * you may not use this file except in compliance with the License. 9 * You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, software 14 * distributed under the License is distributed on an "AS IS" BASIS, 15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 * See the License for the specific language governing permissions and 17 * limitations under the License. 18 */ 19 20#ifndef FREERDP_CONSTANTS_H 21#define FREERDP_CONSTANTS_H 22 23/** 24 * Codec IDs 25 */ 26enum RDP_CODEC_ID 27{ 28 RDP_CODEC_ID_NONE = 0x00, 29 RDP_CODEC_ID_NSCODEC = 0x01, 30 RDP_CODEC_ID_JPEG = 0x02, 31 RDP_CODEC_ID_REMOTEFX = 0x03, 32 RDP_CODEC_ID_IMAGE_REMOTEFX = 0x04 33}; 34 35/** 36 * CPU Optimization flags 37 */ 38#define CPU_SSE2 0x1 39 40/** 41 * OSMajorType 42 */ 43#define OSMAJORTYPE_UNSPECIFIED 0x0000 44#define OSMAJORTYPE_WINDOWS 0x0001 45#define OSMAJORTYPE_OS2 0x0002 46#define OSMAJORTYPE_MACINTOSH 0x0003 47#define OSMAJORTYPE_UNIX 0x0004 48#define OSMAJORTYPE_IOS 0x0005 49#define OSMAJORTYPE_OSX 0x0006 50#define OSMAJORTYPE_ANDROID 0x0007 51#define OSMAJORTYPE_CHROME_OS 0x0008 52 53/** 54 * OSMinorType 55 */ 56#define OSMINORTYPE_UNSPECIFIED 0x0000 57#define OSMINORTYPE_WINDOWS_31X 0x0001 58#define OSMINORTYPE_WINDOWS_95 0x0002 59#define OSMINORTYPE_WINDOWS_NT 0x0003 60#define OSMINORTYPE_OS2_V21 0x0004 61#define OSMINORTYPE_POWER_PC 0x0005 62#define OSMINORTYPE_MACINTOSH 0x0006 63#define OSMINORTYPE_NATIVE_XSERVER 0x0007 64#define OSMINORTYPE_PSEUDO_XSERVER 0x0008 65#define OSMINORTYPE_WINDOWS_RT 0x0009 66/* As of 2022-03-29 the following does not exist officially in [MS-RDPBCGR] */ 67#define OSMINORTYPE_NATIVE_WAYLAND (0xFFFF - 1) 68 69#endif /* FREERDP_CONSTANTS_H */