Changeset 57425 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- Aug 18, 2015 12:41:48 PM (9 years ago)
- Location:
- trunk/src/VBox/Main/src-server
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/ApplianceImplIO.cpp
r57372 r57425 194 194 ******************************************************************************/ 195 195 196 static intfileOpenCallback(void * /* pvUser */, const char *pszLocation, uint32_t fOpen,197 PFNVDCOMPLETED pfnCompleted, void **ppInt)196 static DECLCALLBACK(int) fileOpenCallback(void * /* pvUser */, const char *pszLocation, uint32_t fOpen, 197 PFNVDCOMPLETED pfnCompleted, void **ppInt) 198 198 { 199 199 /* Validate input. */ … … 219 219 } 220 220 221 static intfileCloseCallback(void * /* pvUser */, void *pvStorage)221 static DECLCALLBACK(int) fileCloseCallback(void * /* pvUser */, void *pvStorage) 222 222 { 223 223 /* Validate input. */ … … 236 236 } 237 237 238 static intfileDeleteCallback(void * /* pvUser */, const char *pcszFilename)238 static DECLCALLBACK(int) fileDeleteCallback(void * /* pvUser */, const char *pcszFilename) 239 239 { 240 240 DEBUG_PRINT_FLOW(); … … 243 243 } 244 244 245 static intfileMoveCallback(void * /* pvUser */, const char *pcszSrc, const char *pcszDst, unsigned fMove)245 static DECLCALLBACK(int) fileMoveCallback(void * /* pvUser */, const char *pcszSrc, const char *pcszDst, unsigned fMove) 246 246 { 247 247 DEBUG_PRINT_FLOW(); … … 250 250 } 251 251 252 static intfileGetFreeSpaceCallback(void * /* pvUser */, const char *pcszFilename, int64_t *pcbFreeSpace)252 static DECLCALLBACK(int) fileGetFreeSpaceCallback(void * /* pvUser */, const char *pcszFilename, int64_t *pcbFreeSpace) 253 253 { 254 254 /* Validate input. */ … … 261 261 } 262 262 263 static int fileGetModificationTimeCallback(void * /* pvUser */, const char *pcszFilename, PRTTIMESPEC pModificationTime) 263 static DECLCALLBACK(int) fileGetModificationTimeCallback(void * /* pvUser */, const char *pcszFilename, 264 PRTTIMESPEC pModificationTime) 264 265 { 265 266 /* Validate input. */ … … 272 273 } 273 274 274 static intfileGetSizeCallback(void * /* pvUser */, void *pvStorage, uint64_t *pcbSize)275 static DECLCALLBACK(int) fileGetSizeCallback(void * /* pvUser */, void *pvStorage, uint64_t *pcbSize) 275 276 { 276 277 /* Validate input. */ … … 284 285 } 285 286 286 static intfileSetSizeCallback(void * /* pvUser */, void *pvStorage, uint64_t cbSize)287 static DECLCALLBACK(int) fileSetSizeCallback(void * /* pvUser */, void *pvStorage, uint64_t cbSize) 287 288 { 288 289 /* Validate input. */ … … 296 297 } 297 298 298 static intfileWriteSyncCallback(void * /* pvUser */, void *pvStorage, uint64_t uOffset,299 const void *pvBuf, size_t cbWrite, size_t *pcbWritten)299 static DECLCALLBACK(int) fileWriteSyncCallback(void * /* pvUser */, void *pvStorage, uint64_t uOffset, 300 const void *pvBuf, size_t cbWrite, size_t *pcbWritten) 300 301 { 301 302 /* Validate input. */ … … 307 308 } 308 309 309 static intfileReadSyncCallback(void * /* pvUser */, void *pvStorage, uint64_t uOffset,310 void *pvBuf, size_t cbRead, size_t *pcbRead)310 static DECLCALLBACK(int) fileReadSyncCallback(void * /* pvUser */, void *pvStorage, uint64_t uOffset, 311 void *pvBuf, size_t cbRead, size_t *pcbRead) 311 312 { 312 313 /* Validate input. */ … … 320 321 } 321 322 322 static intfileFlushSyncCallback(void * /* pvUser */, void *pvStorage)323 static DECLCALLBACK(int) fileFlushSyncCallback(void * /* pvUser */, void *pvStorage) 323 324 { 324 325 /* Validate input. */ … … 586 587 587 588 /** @interface_method_impl{VDINTERFACEIO,pfnClose} */ 588 static intfssRdOnly_Close(void *pvUser, void *pvStorage)589 static DECLCALLBACK(int) fssRdOnly_Close(void *pvUser, void *pvStorage) 589 590 { 590 591 PIOSRDONLYINTERNAL pFile = (PIOSRDONLYINTERNAL)pvStorage; … … 1027 1028 } 1028 1029 1029 static intshaOpenCallback(void *pvUser, const char *pszLocation, uint32_t fOpen,1030 PFNVDCOMPLETED pfnCompleted, void **ppInt)1030 static DECLCALLBACK(int) shaOpenCallback(void *pvUser, const char *pszLocation, uint32_t fOpen, 1031 PFNVDCOMPLETED pfnCompleted, void **ppInt) 1031 1032 { 1032 1033 /* Validate input. */ … … 1137 1138 } 1138 1139 1139 static intshaCloseCallback(void *pvUser, void *pvStorage)1140 static DECLCALLBACK(int) shaCloseCallback(void *pvUser, void *pvStorage) 1140 1141 { 1141 1142 /* Validate input. */ … … 1213 1214 } 1214 1215 1215 static intshaDeleteCallback(void *pvUser, const char *pcszFilename)1216 static DECLCALLBACK(int) shaDeleteCallback(void *pvUser, const char *pcszFilename) 1216 1217 { 1217 1218 /* Validate input. */ … … 1227 1228 } 1228 1229 1229 static intshaMoveCallback(void *pvUser, const char *pcszSrc, const char *pcszDst, unsigned fMove)1230 static DECLCALLBACK(int) shaMoveCallback(void *pvUser, const char *pcszSrc, const char *pcszDst, unsigned fMove) 1230 1231 { 1231 1232 /* Validate input. */ … … 1242 1243 } 1243 1244 1244 static intshaGetFreeSpaceCallback(void *pvUser, const char *pcszFilename, int64_t *pcbFreeSpace)1245 static DECLCALLBACK(int) shaGetFreeSpaceCallback(void *pvUser, const char *pcszFilename, int64_t *pcbFreeSpace) 1245 1246 { 1246 1247 /* Validate input. */ … … 1256 1257 } 1257 1258 1258 static intshaGetModificationTimeCallback(void *pvUser, const char *pcszFilename, PRTTIMESPEC pModificationTime)1259 static DECLCALLBACK(int) shaGetModificationTimeCallback(void *pvUser, const char *pcszFilename, PRTTIMESPEC pModificationTime) 1259 1260 { 1260 1261 /* Validate input. */ … … 1271 1272 1272 1273 1273 static intshaGetSizeCallback(void *pvUser, void *pvStorage, uint64_t *pcbSize)1274 static DECLCALLBACK(int) shaGetSizeCallback(void *pvUser, void *pvStorage, uint64_t *pcbSize) 1274 1275 { 1275 1276 /* Validate input. */ … … 1295 1296 } 1296 1297 1297 static intshaSetSizeCallback(void *pvUser, void *pvStorage, uint64_t cbSize)1298 static DECLCALLBACK(int) shaSetSizeCallback(void *pvUser, void *pvStorage, uint64_t cbSize) 1298 1299 { 1299 1300 /* Validate input. */ … … 1312 1313 } 1313 1314 1314 static intshaWriteSyncCallback(void *pvUser, void *pvStorage, uint64_t uOffset,1315 const void *pvBuf, size_t cbWrite, size_t *pcbWritten)1315 static DECLCALLBACK(int) shaWriteSyncCallback(void *pvUser, void *pvStorage, uint64_t uOffset, 1316 const void *pvBuf, size_t cbWrite, size_t *pcbWritten) 1316 1317 { 1317 1318 /* Validate input. */ … … 1408 1409 } 1409 1410 1410 static intshaReadSyncCallback(void *pvUser, void *pvStorage, uint64_t uOffset,1411 void *pvBuf, size_t cbRead, size_t *pcbRead)1411 static DECLCALLBACK(int) shaReadSyncCallback(void *pvUser, void *pvStorage, uint64_t uOffset, 1412 void *pvBuf, size_t cbRead, size_t *pcbRead) 1412 1413 { 1413 1414 /* Validate input. */ … … 1506 1507 } 1507 1508 1508 static intshaFlushSyncCallback(void *pvUser, void *pvStorage)1509 static DECLCALLBACK(int) shaFlushSyncCallback(void *pvUser, void *pvStorage) 1509 1510 { 1510 1511 /* Validate input. */ -
trunk/src/VBox/Main/src-server/HostDnsService.cpp
r56319 r57425 308 308 309 309 310 intHostDnsMonitor::threadMonitoringRoutine(RTTHREAD, void *pvUser)310 DECLCALLBACK(int) HostDnsMonitor::threadMonitoringRoutine(RTTHREAD, void *pvUser) 311 311 { 312 312 HostDnsMonitor *pThis = static_cast<HostDnsMonitor *>(pvUser); -
trunk/src/VBox/Main/src-server/HostDnsService.h
r56319 r57425 77 77 HostDnsMonitor(const HostDnsMonitor &); 78 78 HostDnsMonitor& operator= (const HostDnsMonitor &); 79 static intthreadMonitoringRoutine(RTTHREAD, void *);79 static DECLCALLBACK(int) threadMonitoringRoutine(RTTHREAD, void *); 80 80 void pollGlobalExtraData(); 81 81 -
trunk/src/VBox/Main/src-server/MachineImplCloneVM.cpp
r56577 r57425 85 85 } 86 86 87 static intworkerThread(RTTHREAD /* Thread */, void *pvUser)87 static DECLCALLBACK(int) workerThread(RTTHREAD /* Thread */, void *pvUser) 88 88 { 89 89 MachineCloneVMPrivate *pTask = static_cast<MachineCloneVMPrivate*>(pvUser); … … 123 123 const Utf8Str &strSnapshotFolder, RTCList<ComObjPtr<Medium> > &newMedia, 124 124 ComObjPtr<Medium> *ppDiff) const; 125 static intcopyStateFileProgress(unsigned uPercentage, void *pvUser);125 static DECLCALLBACK(int) copyStateFileProgress(unsigned uPercentage, void *pvUser); 126 126 127 127 /* Private q and parent pointer */ … … 748 748 749 749 /* static */ 750 intMachineCloneVMPrivate::copyStateFileProgress(unsigned uPercentage, void *pvUser)750 DECLCALLBACK(int) MachineCloneVMPrivate::copyStateFileProgress(unsigned uPercentage, void *pvUser) 751 751 { 752 752 ComObjPtr<Progress> pProgress = *static_cast< ComObjPtr<Progress>* >(pvUser);
Note:
See TracChangeset
for help on using the changeset viewer.