Changeset 44242 in vbox for trunk/include/VBox
- Timestamp:
- Jan 7, 2013 8:19:15 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 83098
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vd-ifs-internal.h
r44233 r44242 381 381 DECLR3CALLBACKMEMBER(void, pfnIoCtxCompleted, (void *pvUser, PVDIOCTX pIoCtx, 382 382 int rcReq, size_t cbCompleted)); 383 384 /** 385 * Returns whether the given I/O context must be treated synchronously. 386 * 387 * @returns true if the I/O context must be processed synchronously 388 * false otherwise. 389 * @param pvUser The opaque user data passed on container creation. 390 * @param pIoCtx The I/O context. 391 */ 392 DECLR3CALLBACKMEMBER(bool, pfnIoCtxIsSynchronous, (void *pvUser, PVDIOCTX pIoCtx)); 393 394 /** 395 * Returns whether the user buffer of the I/O context is complete zero 396 * from to current position upto the given number of bytes. 397 * 398 * @returns true if the I/O context user buffer consists solely of zeros 399 * false otherwise. 400 * @param pvUser The opaque user data passed on container creation. 401 * @param pIoCtx The I/O context. 402 * @param cbCheck Number of bytes to check for zeros. 403 * @param fAdvance Flag whether to advance the buffer pointer if true 404 * is returned. 405 */ 406 DECLR3CALLBACKMEMBER(bool, pfnIoCtxIsZero, (void *pvUser, PVDIOCTX pIoCtx, 407 size_t cbCheck, bool fAdvance)); 408 383 409 } VDINTERFACEIOINT, *PVDINTERFACEIOINT; 384 410 … … 529 555 } 530 556 557 DECLINLINE(bool) vdIfIoIntIoCtxIsSynchronous(PVDINTERFACEIOINT pIfIoInt, PVDIOCTX pIoCtx) 558 { 559 return pIfIoInt->pfnIoCtxIsSynchronous(pIfIoInt->Core.pvUser, pIoCtx); 560 } 561 562 DECLINLINE(bool) vdIfIoIntIoCtxIsZero(PVDINTERFACEIOINT pIfIoInt, PVDIOCTX pIoCtx, 563 size_t cbCheck, bool fAdvance) 564 { 565 return pIfIoInt->pfnIoCtxIsZero(pIfIoInt->Core.pvUser, pIoCtx, cbCheck, fAdvance); 566 } 567 568 531 569 RT_C_DECLS_END 532 570
Note:
See TracChangeset
for help on using the changeset viewer.