VirtualBox

Changeset 28784 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Apr 26, 2010 11:59:42 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
60672
Message:

Interface changes for error reporting and async I/O

Location:
trunk/include/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VBoxHDD.h

    r28620 r28784  
    460460 * @return  VBox status code.
    461461 * @param   pvUser          Opaque user data which is passed on request submission.
    462  */
    463 typedef DECLCALLBACK(int) FNVDCOMPLETED(void *pvUser);
     462 * @param   rcReq           Status code of the completed request.
     463 */
     464typedef DECLCALLBACK(int) FNVDCOMPLETED(void *pvUser, int rcReq);
    464465/** Pointer to FNVDCOMPLETED() */
    465466typedef FNVDCOMPLETED *PFNVDCOMPLETED;
     
    16161617 * Request completion callback for the async read/write API.
    16171618 */
    1618 typedef void (FNVDASYNCTRANSFERCOMPLETE) (void *pvUser1, void *pvUser2);
     1619typedef void (FNVDASYNCTRANSFERCOMPLETE) (void *pvUser1, void *pvUser2, int rcReq);
    16191620/** Pointer to a transfer compelte callback. */
    16201621typedef FNVDASYNCTRANSFERCOMPLETE *PFNVDASYNCTRANSFERCOMPLETE;
  • trunk/include/VBox/pdmifs.h

    r28383 r28784  
    13691369     * @param   pInterface      Pointer to the interface structure containing the called function pointer.
    13701370     * @param   pvUser          The user argument given in pfnStartWrite/Read.
    1371      * @thread  Any thread.
    1372      */
    1373     DECLR3CALLBACKMEMBER(int, pfnTransferCompleteNotify, (PPDMIBLOCKASYNCPORT pInterface, void *pvUser));
     1371     * @param   rcReq           IPRT Status code of the completed request.
     1372     * @thread  Any thread.
     1373     */
     1374    DECLR3CALLBACKMEMBER(int, pfnTransferCompleteNotify, (PPDMIBLOCKASYNCPORT pInterface, void *pvUser, int rcReq));
    13741375} PDMIBLOCKASYNCPORT;
    13751376/** PDMIBLOCKASYNCPORT interface ID. */
     
    14431444     * @param   pInterface      Pointer to the interface structure containing the called function pointer.
    14441445     * @param   pvUser          The user argument given in pfnStartWrite.
    1445      * @thread  Any thread.
    1446      */
    1447     DECLR3CALLBACKMEMBER(int, pfnTransferCompleteNotify, (PPDMIMEDIAASYNCPORT pInterface, void *pvUser));
     1446     * @param   rcReq           IPRT Status code of the completed request.
     1447     * @thread  Any thread.
     1448     */
     1449    DECLR3CALLBACKMEMBER(int, pfnTransferCompleteNotify, (PPDMIMEDIAASYNCPORT pInterface, void *pvUser, int rcReq));
    14481450} PDMIMEDIAASYNCPORT;
    14491451/** PDMIMEDIAASYNCPORT interface ID. */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette