Changeset 7781 in vbox for trunk/include/VBox/VBoxHDD-new.h
- Timestamp:
- Apr 7, 2008 4:39:52 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 29336
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/VBoxHDD-new.h
r7277 r7781 175 175 /** @}*/ 176 176 177 178 /** @name VBox HDD container backend capability flags 179 * @{ 180 */ 181 /** Supports UUIDs as expected by VirtualBox code. */ 182 #define VD_CAP_UUID RT_BIT(0) 183 /** Supports creating fixed size images, allocating all space instantly. */ 184 #define VD_CAP_CREATE_FIXED RT_BIT(1) 185 /** Supports creating dynamically growing images, allocating space on demand. */ 186 #define VD_CAP_CREATE_DYNAMIC RT_BIT(2) 187 /** Supports creating images split in chunks of a bit less than 2GBytes. */ 188 #define VD_CAP_CREATE_SPLIT_2G RT_BIT(3) 189 /** Supports being used as differencing image format backend. */ 190 #define VD_CAP_DIFF RT_BIT(4) 191 /** @}*/ 192 193 194 /** 195 * Data structure for returning a list of backend capabilities. 196 */ 197 typedef struct VDBACKENDINFO 198 { 199 /** Name of the backend. */ 200 char *pszBackend; 201 /** Capabilities of the backend (a combination of the VD_CAP_* flags). */ 202 uint64_t uBackendCaps; 203 } VDBACKENDINFO, *PVDBACKENDINFO; 204 205 177 206 /** 178 207 * Error message callback. … … 196 225 typedef struct VBOXHDD VBOXHDD; 197 226 typedef VBOXHDD *PVBOXHDD; 227 228 229 /** 230 * Lists all HDD backends and their capabilities in a caller-provided buffer. 231 * Free all returned names with RTStrFree() when you no longer need them. 232 * 233 * @returns VBox status code. 234 * VERR_BUFFER_OVERFLOW if not enough space is passed. 235 * @param cEntriesAlloc Number of list entries available. 236 * @param pEntries Pointer to array for the entries. 237 * @param pcEntriesUsed Number of entries returned. 238 */ 239 VBOXDDU_DECL(int) VDBackendInfo(unsigned cEntriesAlloc, PVDBACKENDINFO pEntries, 240 unsigned *pcEntriesUsed); 241 198 242 199 243 /**
Note:
See TracChangeset
for help on using the changeset viewer.