VirtualBox

Changeset 35408 in vbox for trunk/src/VBox/Runtime/r3/win


Ignore:
Timestamp:
Jan 5, 2011 3:43:05 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
69273
Message:

fileaio-win.cpp: Log native error code for unresolved errors (temporary for public bug #7971)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/fileaio-win.cpp

    r33540 r35408  
    456456            pReqInt->Rc = VINF_SUCCESS;
    457457        else
    458             pReqInt->Rc = RTErrConvertFromWin32(GetLastError());
     458        {
     459            DWORD errCode = GetLastError();
     460            pReqInt->Rc = RTErrConvertFromWin32(errCode);
     461            if (pReqInt->Rc == VERR_UNRESOLVED_ERROR)
     462                LogRel(("AIO/win: Request %#p returned rc=%Rrc (native %u\n)", pReqInt, pReqInt->Rc, errCode));
     463        }
    459464
    460465        pahReqs[cRequestsCompleted++] = (RTFILEAIOREQ)pReqInt;
Note: See TracChangeset for help on using the changeset viewer.

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