Changeset 82465 in vbox for trunk/include
- Timestamp:
- Dec 6, 2019 3:44:15 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/GuestHost/SharedClipboard-transfers.h
r81768 r82465 111 111 #define SHCL_OBJ_CF_DIRECTORY (0x00000004) 112 112 113 /** Open/create action to do if object exists114 * and if the object does not exists.115 * REPLACE file means atomically DELETE and CREATE.116 * OVERWRITE file means truncating the file to 0 and117 * setting new size.118 * When opening an existing directory REPLACE and OVERWRITE119 * actions are considered invalid, and cause returning120 * FILE_EXISTS with NIL handle.121 */122 #define SHCL_OBJ_CF_ACT_MASK_IF_EXISTS (0x000000F0)123 #define SHCL_OBJ_CF_ACT_MASK_IF_NEW (0x00000F00)124 125 /** What to do if object exists. */126 #define SHCL_OBJ_CF_ACT_OPEN_IF_EXISTS (0x00000000)127 #define SHCL_OBJ_CF_ACT_FAIL_IF_EXISTS (0x00000010)128 #define SHCL_OBJ_CF_ACT_REPLACE_IF_EXISTS (0x00000020)129 #define SHCL_OBJ_CF_ACT_OVERWRITE_IF_EXISTS (0x00000030)130 131 /** What to do if object does not exist. */132 #define SHCL_OBJ_CF_ACT_CREATE_IF_NEW (0x00000000)133 #define SHCL_OBJ_CF_ACT_FAIL_IF_NEW (0x00000100)134 135 113 /** Read/write requested access for the object. */ 136 #define SHCL_OBJ_CF_ACCESS_MASK_RW (0x0000 3000)114 #define SHCL_OBJ_CF_ACCESS_MASK_RW (0x00001000) 137 115 138 116 /** No access requested. */ … … 140 118 /** Read access requested. */ 141 119 #define SHCL_OBJ_CF_ACCESS_READ (0x00001000) 142 /** Write access requested. */143 #define SHCL_OBJ_CF_ACCESS_WRITE (0x00002000)144 /** Read/Write access requested. */145 #define SHCL_OBJ_CF_ACCESS_READWRITE (SHCL_OBJ_CF_ACCESS_READ | SHCL_OBJ_CF_ACCESS_WRITE)146 120 147 121 /** Requested share access for the object. */ … … 164 138 /** Read access requested. */ 165 139 #define SHCL_OBJ_CF_ACCESS_ATTR_READ (0x00010000) 166 /** Write access requested. */167 #define SHCL_OBJ_CF_ACCESS_ATTR_WRITE (0x00020000)168 /** Read/Write access requested. */169 #define SHCL_OBJ_CF_ACCESS_ATTR_READWRITE (SHCL_OBJ_CF_ACCESS_ATTR_READ | SHCL_OBJ_CF_ACCESS_ATTR_WRITE)170 171 /** The file is opened in append mode. Ignored if SHCL_OBJ_CF_ACCESS_WRITE is not set. */172 #define SHCL_OBJ_CF_ACCESS_APPEND (0x00040000)173 140 174 141 /** @} */ 175 142 176 /** Result of an open /createrequest.143 /** Result of an open request. 177 144 * Along with handle value the result code 178 145 * identifies what has happened while … … 186 153 /** Path to file exists, but the last component does not. */ 187 154 SHCL_CREATERESULT_FILE_NOT_FOUND, 188 /** File already exists and either has been opened or not. */189 SHCL_CREATERESULT_FILE_EXISTS,190 /** New file was created. */191 SHCL_CREATERESULT_FILE_CREATED,192 /** Existing file was replaced or overwritten. */193 SHCL_CREATERESULT_FILE_REPLACED,194 155 /** Blow the type up to 32-bit. */ 195 156 SHCL_CREATERESULT_32BIT_HACK = 0x7fffffff
Note:
See TracChangeset
for help on using the changeset viewer.