2 * FreeRDP: A Remote Desktop Protocol client.
3 * Clipboard Virtual Channel
5 * Copyright 2009-2011 Jay Sorg
6 * Copyright 2010-2011 Vic Lee
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
21 #ifndef __CLIPRDR_CONSTANTS
22 #define __CLIPRDR_CONSTANTS
24 /* CLIPRDR_HEADER.msgType */
25 #define CB_MONITOR_READY 0x0001
26 #define CB_FORMAT_LIST 0x0002
27 #define CB_FORMAT_LIST_RESPONSE 0x0003
28 #define CB_FORMAT_DATA_REQUEST 0x0004
29 #define CB_FORMAT_DATA_RESPONSE 0x0005
30 #define CB_TEMP_DIRECTORY 0x0006
31 #define CB_CLIP_CAPS 0x0007
32 #define CB_FILECONTENTS_REQUEST 0x0008
33 #define CB_FILECONTENTS_RESPONSE 0x0009
34 #define CB_LOCK_CLIPDATA 0x000A
35 #define CB_UNLOCK_CLIPDATA 0x000B
37 /* CLIPRDR_HEADER.msgFlags */
38 #define CB_RESPONSE_OK 0x0001
39 #define CB_RESPONSE_FAIL 0x0002
40 #define CB_ASCII_NAMES 0x0004
42 /* CLIPRDR_CAPS_SET.capabilitySetType */
43 #define CB_CAPSTYPE_GENERAL 0x0001
45 /* CLIPRDR_GENERAL_CAPABILITY.lengthCapability */
46 #define CB_CAPSTYPE_GENERAL_LEN 12
48 /* CLIPRDR_GENERAL_CAPABILITY.version */
49 #define CB_CAPS_VERSION_1 0x00000001
50 #define CB_CAPS_VERSION_2 0x00000002
52 /* CLIPRDR_GENERAL_CAPABILITY.generalFlags */
53 #define CB_USE_LONG_FORMAT_NAMES 0x00000002
54 #define CB_STREAM_FILECLIP_ENABLED 0x00000004
55 #define CB_FILECLIP_NO_FILE_PATHS 0x00000008
56 #define CB_CAN_LOCK_CLIPDATA 0x00000010
58 #endif /* __CLIPRDR_CONSTANTS */