Changeset 84996 in vbox for trunk/include/VBox/HostServices
- Timestamp:
- Jun 29, 2020 4:21:34 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 138891
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/HostServices/VBoxClipboardSvc.h
r83621 r84996 828 828 829 829 /** 830 * Status messag for lists and objects.830 * Status message for lists and objects. 831 831 */ 832 832 typedef struct _VBoxShClStatusMsg … … 838 838 /** uint32_t, in: Transfer status of type SHCLTRANSFERSTATUS. */ 839 839 HGCMFunctionParameter uStatus; 840 /** uint32_t, in: Size of payload of this status, based on the status type. */841 HGCMFunctionParameter cbPayload;842 840 /** pointer, in: Optional payload of this status, based on the status type. */ 843 841 HGCMFunctionParameter pvPayload; 844 842 } VBoxShClStatusMsg; 845 843 846 #define VBOX_SHCL_CPARMS_STATUS 4844 #define VBOX_SHCL_CPARMS_STATUS 3 847 845 848 846 /** Invalid message type, do not use. */ … … 872 870 /** uint32_t, out: IPRT result of overall operation. */ 873 871 HGCMFunctionParameter rc; 874 /** uint32_t, out: Size of optional payload of this reply, based on the message type. */875 HGCMFunctionParameter cbPayload;876 872 /** pointer, out: Optional payload of this reply, based on the message type. */ 877 873 HGCMFunctionParameter pvPayload; … … 898 894 899 895 /** Minimum parameters (HGCM function parameters minus the union) a reply message must have. */ 900 #define VBOX_SHCL_CPARMS_REPLY_MIN 5896 #define VBOX_SHCL_CPARMS_REPLY_MIN 4 901 897 902 898 /** … … 911 907 } VBoxShClRootListParms; 912 908 909 #define VBOX_SHCL_CPARMS_ROOT_LIST 2 910 913 911 /** 914 912 * Requests to read the root list header. … … 921 919 } VBoxShClRootListReadReqMsg; 922 920 923 #define VBOX_SHCL_CPARMS_ROOT_LIST_HDR_READ_REQ 2921 #define VBOX_SHCL_CPARMS_ROOT_LIST_HDR_READ_REQ VBOX_SHCL_CPARMS_ROOT_LIST 924 922 925 923 /** … … 935 933 } VBoxShClRootListHdrMsg; 936 934 937 #define VBOX_SHCL_CPARMS_ROOT_LIST_HDR_READ 3938 #define VBOX_SHCL_CPARMS_ROOT_LIST_HDR_WRITE 3935 #define VBOX_SHCL_CPARMS_ROOT_LIST_HDR_READ VBOX_SHCL_CPARMS_ROOT_LIST + 1 936 #define VBOX_SHCL_CPARMS_ROOT_LIST_HDR_WRITE VBOX_SHCL_CPARMS_ROOT_LIST + 1 939 937 940 938 /** … … 951 949 } VBoxShClRootListEntryParms; 952 950 951 #define VBOX_SHCL_CPARMS_ROOT_LIST_ENTRY 3 952 953 953 /** 954 954 * Request to read a list root entry. … … 962 962 } VBoxShClRootListEntryReadReqMsg; 963 963 964 #define VBOX_SHCL_CPARMS_ROOT_LIST_ENTRY_READ_REQ 3964 #define VBOX_SHCL_CPARMS_ROOT_LIST_ENTRY_READ_REQ VBOX_SHCL_CPARMS_ROOT_LIST_ENTRY 965 965 966 966 /** … … 982 982 } VBoxShClRootListEntryMsg; 983 983 984 #define VBOX_SHCL_CPARMS_ROOT_LIST_ENTRY_READ 6985 #define VBOX_SHCL_CPARMS_ROOT_LIST_ENTRY_WRITE 6984 #define VBOX_SHCL_CPARMS_ROOT_LIST_ENTRY_READ VBOX_SHCL_CPARMS_ROOT_LIST_ENTRY + 3 985 #define VBOX_SHCL_CPARMS_ROOT_LIST_ENTRY_WRITE VBOX_SHCL_CPARMS_ROOT_LIST_ENTRY + 3 986 986 987 987 /** … … 996 996 /** uint32_t, in: Listing flags (see VBOX_SHCL_LIST_FLAG_XXX). */ 997 997 HGCMFunctionParameter fList; 998 /** uint32_t, in: Size (in bytes) of the filter string. */999 HGCMFunctionParameter cbFilter;1000 998 /** pointer, in: Filter string. */ 1001 999 HGCMFunctionParameter pvFilter; 1002 /** uint32_t, in: Size (in bytes) of the listing path. */1003 HGCMFunctionParameter cbPath;1004 1000 /** pointer, in: Listing poth. If empty or NULL the listing's root path will be opened. */ 1005 1001 HGCMFunctionParameter pvPath; … … 1008 1004 } VBoxShClListOpenMsg; 1009 1005 1010 #define VBOX_SHCL_CPARMS_LIST_OPEN 71006 #define VBOX_SHCL_CPARMS_LIST_OPEN 5 1011 1007 1012 1008 /** … … 1035 1031 } VBoxShClListHdrReqParms; 1036 1032 1033 #define VBOX_SHCL_CPARMS_LIST_HDR_REQ 3 1034 1037 1035 /** 1038 1036 * Request to read a list header. … … 1045 1043 } VBoxShClListHdrReadReqMsg; 1046 1044 1047 #define VBOX_SHCL_CPARMS_LIST_HDR_READ_REQ 31045 #define VBOX_SHCL_CPARMS_LIST_HDR_READ_REQ VBOX_SHCL_CPARMS_LIST_HDR_REQ 1048 1046 1049 1047 /** … … 1057 1055 /** uint32_t, in/out: Feature flags (see VBOX_SHCL_FEATURE_FLAG_XXX). */ 1058 1056 HGCMFunctionParameter fFeatures; 1059 /** uint64_t, in/out: 1057 /** uint64_t, in/out: Number of total objects to transfer. */ 1060 1058 HGCMFunctionParameter cTotalObjects; 1061 /** uint64_t, in/out: 1059 /** uint64_t, in/out: Number of total bytes to transfer. */ 1062 1060 HGCMFunctionParameter cbTotalSize; 1063 1061 } VBoxShClListHdrMsg; 1064 1062 1065 #define VBOX_SHCL_CPARMS_LIST_HDR 61063 #define VBOX_SHCL_CPARMS_LIST_HDR VBOX_SHCL_CPARMS_LIST_HDR_REQ + 3 1066 1064 1067 1065 typedef struct _VBoxShClListEntryReqParms … … 1075 1073 } VBoxShClListEntryReqParms; 1076 1074 1075 #define VBOX_SHCL_CPARMS_LIST_ENTRY_REQ 3 1076 1077 1077 /** 1078 1078 * Request to read a list entry. … … 1085 1085 } VBoxShClListEntryReadReqMsg; 1086 1086 1087 #define VBOX_SHCL_CPARMS_LIST_ENTRY_READ 31087 #define VBOX_SHCL_CPARMS_LIST_ENTRY_READ VBOX_SHCL_CPARMS_LIST_ENTRY_REQ 1088 1088 1089 1089 /** … … 1097 1097 VBoxShClListEntryReqParms ReqParms; 1098 1098 /** pointer, in/out: Entry name. */ 1099 HGCMFunctionParameter 1099 HGCMFunctionParameter szName; 1100 1100 /** uint32_t, out: Bytes to be used for information/How many bytes were used. */ 1101 HGCMFunctionParameter 1101 HGCMFunctionParameter cbInfo; 1102 1102 /** pointer, in/out: Information to be set/get (SHCLFSOBJINFO only currently). 1103 1103 * Do not forget to set the SHCLFSOBJINFO::Attr::enmAdditional for Get operation as well. */ 1104 HGCMFunctionParameter 1104 HGCMFunctionParameter pvInfo; 1105 1105 } VBoxShClListEntryMsg; 1106 1106 1107 #define VBOX_SHCL_CPARMS_LIST_ENTRY 61107 #define VBOX_SHCL_CPARMS_LIST_ENTRY VBOX_SHCL_CPARMS_LIST_ENTRY_REQ + 3 1108 1108 1109 1109 /** … … 1116 1116 /** uint64_t, in/out: Context ID. */ 1117 1117 HGCMFunctionParameter uContext; 1118 /** uint64_t, in/out: Object handle. */1118 /** uint64_t, out: Object handle. */ 1119 1119 HGCMFunctionParameter uHandle; 1120 /** uint32_t, in/out: Size (in bytes) of absoulte path of object to open/create. */ 1121 HGCMFunctionParameter cbPath; 1122 /** pointer, in/out: Absoulte path of object to open/create. */ 1120 /** pointer, in: Absoulte path of object to open/create. */ 1123 1121 HGCMFunctionParameter szPath; 1124 /** uint32_t in /out: Open / Create flags of type SHCL_OBJ_CF_. */1122 /** uint32_t in: Open / Create flags of type SHCL_OBJ_CF_. */ 1125 1123 HGCMFunctionParameter fCreate; 1126 1124 } VBoxShClObjOpenMsg; 1127 1125 1128 #define VBOX_SHCL_CPARMS_OBJ_OPEN 51126 #define VBOX_SHCL_CPARMS_OBJ_OPEN 4 1129 1127 1130 1128 /** … … 1185 1183 /** uint64_t, in/out: SHCLOBJHANDLE of object to write to. */ 1186 1184 HGCMFunctionParameter uHandle; 1187 /** uint32_t, in/out: Size (in bytes) of current data chunk. */1185 /** uint32_t, out: Size (in bytes) read/written. */ 1188 1186 HGCMFunctionParameter cbData; 1189 1187 /** pointer, in/out: Current data chunk. */
Note:
See TracChangeset
for help on using the changeset viewer.