Changeset 60051 in vbox for trunk/src/VBox/Main/src-client/GuestDnDTargetImpl.cpp
- Timestamp:
- Mar 15, 2016 9:34:09 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestDnDTargetImpl.cpp
r59831 r60051 1281 1281 AssertPtr(pCtx->mpResp); 1282 1282 1283 #define REGISTER_CALLBACK(x) \ 1284 rc = pCtx->mpResp->setCallback(x, i_sendURIDataCallback, pCtx); \ 1285 if (RT_FAILURE(rc)) \ 1286 return rc; 1283 #define REGISTER_CALLBACK(x) \ 1284 do { \ 1285 rc = pCtx->mpResp->setCallback(x, i_sendURIDataCallback, pCtx); \ 1286 if (RT_FAILURE(rc)) \ 1287 return rc; \ 1288 } while (0) 1287 1289 1288 1290 #define UNREGISTER_CALLBACK(x) \ 1289 {\1291 do { \ 1290 1292 int rc2 = pCtx->mpResp->setCallback(x, NULL); \ 1291 1293 AssertRC(rc2); \ 1292 } 1294 } while (0) 1293 1295 1294 1296 int rc = pCtx->mURI.init(mData.mcbBlockSize);
Note:
See TracChangeset
for help on using the changeset viewer.