Changeset 76143 in vbox for trunk/include
- Timestamp:
- Dec 10, 2018 9:24:46 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/shflsvc.h
r76118 r76143 131 131 * @since VBox 6.0 */ 132 132 #define SHFL_FN_CANCEL_MAPPINGS_CHANGES_WAITS (23) 133 /** Sets the file size. 134 * @since VBox 6.0 */ 135 #define SHFL_FN_SET_FILE_SIZE (24) 133 136 /** @} */ 134 137 … … 1122 1125 */ 1123 1126 1127 /** SHFL_FN_MAP_FOLDER parameters. */ 1128 typedef struct VBoxSFParmMapFolder 1129 { 1130 /** pointer, in: SHFLSTRING with the name of the folder to map. */ 1131 HGCMFunctionParameter pStrName; 1132 /** value32, out: The root ID (SHFLROOT) of the mapping. */ 1133 HGCMFunctionParameter id32Root; 1134 /** value32, in: Path delimiter code point. */ 1135 HGCMFunctionParameter uc32Delimiter; 1136 /** value32, in: case senstive flag */ 1137 HGCMFunctionParameter fCaseSensitive; 1138 } VBoxSFParmMapFolder; 1139 1124 1140 /** Parameters structure. */ 1125 1141 typedef struct _VBoxSFMapFolder … … 1157 1173 * @{ 1158 1174 */ 1175 1176 /** SHFL_FN_UNMAP_FOLDER parameters. */ 1177 typedef struct VBoxSFParmUnmapFolder 1178 { 1179 /** value32, in: SHFLROOT of the mapping to unmap */ 1180 HGCMFunctionParameter id32Root; 1181 } VBoxSFParmUnmapFolder; 1159 1182 1160 1183 /** Parameters structure. */ … … 1259 1282 1260 1283 /** Parameters structure. */ 1284 typedef struct VBoxSFParmRead 1285 { 1286 /** value32, in: SHFLROOT of the mapping with the handle. */ 1287 HGCMFunctionParameter id32Root; 1288 /** value64, in: SHFLHANDLE of object to read from . */ 1289 HGCMFunctionParameter u64Handle; 1290 /** value64, in: Offset to start reading from. */ 1291 HGCMFunctionParameter off64Read; 1292 /** value32, in/out: How much to try read / Actually read. */ 1293 HGCMFunctionParameter cb32Read; 1294 /** pointer, out: Buffer to return the data in. */ 1295 HGCMFunctionParameter pBuf; 1296 } VBoxSFParmRead; 1297 1298 /** Parameters structure. */ 1261 1299 typedef struct _VBoxSFRead 1262 1300 { … … 1400 1438 * @{ 1401 1439 */ 1440 1441 /** SHFL_FN_FLUSH parameters. */ 1442 typedef struct VBoxSFParmFlush 1443 { 1444 /** value32, in: SHFLROOT of the mapping with the handle. */ 1445 HGCMFunctionParameter id32Root; 1446 /** value64, in: SHFLHANDLE of object to flush. */ 1447 HGCMFunctionParameter u64Handle; 1448 } VBoxSFParmFlush; 1402 1449 1403 1450 /** Parameters structure. */ … … 1604 1651 #define SHFL_REMOVE_SYMLINK (0x4) 1605 1652 1653 /** SHFL_FN_REMOVE parameters. */ 1654 typedef struct VBoxSFParmRemove 1655 { 1656 /** value32, in: SHFLROOT of the mapping the path is relative to. */ 1657 HGCMFunctionParameter id32Root; 1658 /** pointer, in: Points to SHFLSTRING buffer. */ 1659 HGCMFunctionParameter pStrPath; 1660 /** value32, in: SHFL_REMOVE_XXX */ 1661 HGCMFunctionParameter f32Flags; 1662 } VBoxSFParmRemove; 1663 1606 1664 /** Parameters structure. */ 1607 1665 typedef struct _VBoxSFRemove … … 1637 1695 #define SHFL_RENAME_DIR (0x2) 1638 1696 #define SHFL_RENAME_REPLACE_IF_EXISTS (0x4) 1697 1698 /** SHFL_FN_RENAME parameters. */ 1699 typedef struct VBoxSFParmRename 1700 { 1701 /** value32, in: SHFLROOT of the mapping the paths are relative to. */ 1702 HGCMFunctionParameter id32Root; 1703 /** pointer, in: SHFLSTRING giving the source (old) path. */ 1704 HGCMFunctionParameter pStrSrcPath; 1705 /** pointer, in: SHFLSTRING giving the destination (new) path. */ 1706 HGCMFunctionParameter pStrDstPath; 1707 /** value32, in: SHFL_RENAME_XXX */ 1708 HGCMFunctionParameter f32Flags; 1709 } VBoxSFParmRename; 1639 1710 1640 1711 /** Parameters structure. */ … … 1775 1846 1776 1847 1848 /** @name SHFL_FN_SET_FILE_SIZE 1849 * @{ 1850 */ 1851 /** SHFL_FN_SET_FILE_SIZE parameters. */ 1852 typedef struct VBoxSFParmSetFileSize 1853 { 1854 /** value32, in: SHFLROOT of the mapping the handle belongs to. */ 1855 HGCMFunctionParameter id32Root; 1856 /** value64, in: SHFLHANDLE of the file to change the size of. */ 1857 HGCMFunctionParameter u64Handle; 1858 /** value64, in: The new file size. */ 1859 HGCMFunctionParameter cb64NewSize; 1860 } VBoxSFParmSetFileSize; 1861 /** Number of parameters */ 1862 #define SHFL_CPARMS_SET_FILE_SIZE (3) 1863 /** @} */ 1864 1865 1866 1867 1868 1777 1869 /** @name SHFL_FN_ADD_MAPPING 1778 1870 * @note Host call, no guest structure is used.
Note:
See TracChangeset
for help on using the changeset viewer.