VirtualBox

Changeset 27920 in vbox for trunk/include


Ignore:
Timestamp:
Mar 31, 2010 7:02:48 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
59612
Message:

AsyncCompletion: Return error code for completed requests

File:
1 edited

Legend:

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

    r27738 r27920  
    6464 * @param   pDevIns     The device instance.
    6565 * @param   pvUser      User argument.
    66  */
    67 typedef DECLCALLBACK(void) FNPDMASYNCCOMPLETEDEV(PPDMDEVINS pDevIns, void *pvUser);
     66 * @param   rc          The status code of the completed request.
     67 */
     68typedef DECLCALLBACK(void) FNPDMASYNCCOMPLETEDEV(PPDMDEVINS pDevIns, void *pvUser, int rc);
    6869/** Pointer to a FNPDMASYNCCOMPLETEDEV(). */
    6970typedef FNPDMASYNCCOMPLETEDEV *PFNPDMASYNCCOMPLETEDEV;
     
    7677 * @param   pvTemplateUser User argument given when creating the template.
    7778 * @param   pvUser         User argument given during request initiation.
    78  */
    79 typedef DECLCALLBACK(void) FNPDMASYNCCOMPLETEDRV(PPDMDRVINS pDrvIns, void *pvTemplateUser, void *pvUser);
     79 * @param   rc          The status code of the completed request.
     80 */
     81typedef DECLCALLBACK(void) FNPDMASYNCCOMPLETEDRV(PPDMDRVINS pDrvIns, void *pvTemplateUser, void *pvUser, int rc);
    8082/** Pointer to a FNPDMASYNCCOMPLETEDRV(). */
    8183typedef FNPDMASYNCCOMPLETEDRV *PFNPDMASYNCCOMPLETEDRV;
     
    8789 * @param   pUsbIns     The USB device instance.
    8890 * @param   pvUser      User argument.
    89  */
    90 typedef DECLCALLBACK(void) FNPDMASYNCCOMPLETEUSB(PPDMUSBINS pUsbIns, void *pvUser);
     91 * @param   rc          The status code of the completed request.
     92 */
     93typedef DECLCALLBACK(void) FNPDMASYNCCOMPLETEUSB(PPDMUSBINS pUsbIns, void *pvUser, int rc);
    9194/** Pointer to a FNPDMASYNCCOMPLETEUSB(). */
    9295typedef FNPDMASYNCCOMPLETEUSB *PFNPDMASYNCCOMPLETEUSB;
     
    99102 * @param   pvUser      User argument for the task.
    100103 * @param   pvUser2     User argument for the template.
    101  */
    102 typedef DECLCALLBACK(void) FNPDMASYNCCOMPLETEINT(PVM pVM, void *pvUser, void *pvUser2);
     104 * @param   rc          The status code of the completed request.
     105 */
     106typedef DECLCALLBACK(void) FNPDMASYNCCOMPLETEINT(PVM pVM, void *pvUser, void *pvUser2, int rc);
    103107/** Pointer to a FNPDMASYNCCOMPLETEINT(). */
    104108typedef FNPDMASYNCCOMPLETEINT *PFNPDMASYNCCOMPLETEINT;
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