summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv/clipboard.h
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2012-10-13 22:48:29 -0700
committerJay Sorg <jay.sorg@gmail.com>2012-10-13 22:48:29 -0700
commit3624a6bb966fd7965a555f0ebd56f657704fb603 (patch)
tree3343eca53ca797d3b3e576df068d6f09e0e11e06 /sesman/chansrv/clipboard.h
parente07dd5afb5a47b8a707f205727e0e4861b409f0a (diff)
downloadxrdp-proprietary-3624a6bb966fd7965a555f0ebd56f657704fb603.tar.gz
xrdp-proprietary-3624a6bb966fd7965a555f0ebd56f657704fb603.zip
work on clipboard
Diffstat (limited to 'sesman/chansrv/clipboard.h')
-rw-r--r--sesman/chansrv/clipboard.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/sesman/chansrv/clipboard.h b/sesman/chansrv/clipboard.h
index deb70b6b..80d8da3e 100644
--- a/sesman/chansrv/clipboard.h
+++ b/sesman/chansrv/clipboard.h
@@ -42,6 +42,9 @@
#define CB_FILECLIP_NO_FILE_PATHS 0x00000008
#define CB_CAN_LOCK_CLIPDATA 0x00000010
+#define CB_FILECONTENTS_SIZE 0x00000001
+#define CB_FILECONTENTS_RANGE 0x00000002
+
#define CB_FORMAT_RAW 0x0000
#define CB_FORMAT_TEXT 0x0001
#define CB_FORMAT_DIB 0x0008
@@ -52,11 +55,35 @@
#define CB_FORMAT_GIF 0xD013
#define CB_FORMAT_FILE 0xC0BC
+/* Used by the Format List Response PDU, Format Data Response PDU, and File
+ Contents Response PDU to indicate that the associated request Format List
+ PDU, Format Data Request PDU, and File Contents Request PDU were processed
+ successfully. */
+#define CB_RESPONSE_OK 0x0001
+
+/* Used by the Format List Response PDU, Format Data Response PDU, and File
+ Contents Response PDU to indicate that the associated Format List PDU,
+ Format Data Request PDU, and File Contents Request PDU were not processed
+ successfully. */
+#define CB_RESPONSE_FAIL 0x0002
+
+/* Used by the Short Format Name variant of the Format List Response PDU to
+ indicate the format names are in ASCII 8. */
+#define CB_ASCII_NAMES 0x0004
+
/* these are the supported general types */
#define XRDP_CB_TEXT 1
#define XRDP_CB_BITMAP 2
#define XRDP_CB_FILE 3
+#define CB_FD_ATTRIBUTES 0x00000004
+#define CB_FD_FILESIZE 0x00000040
+#define CB_FD_WRITESTIME 0x00000020
+#define CB_FD_PROGRESSUI 0x00004000
+
+#define CB_FILE_ATTRIBUTE_ARCHIVE 0x00000020;
+#define CB_FILE_ATTRIBUTE_NORMAL 0x00000080;
+
int APP_CC
clipboard_init(void);
int APP_CC