VirtualBox

Ignore:
Timestamp:
Jul 17, 2008 12:06:56 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
33448
Message:

Fixed issue in fast (METHOD_NEITHER) ioctls.
Write the last error to pVM->vmm.s.iLastGCRc instead of writing it to a user buffer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/os2/SUPLib-os2.cpp

    r10256 r10720  
    171171{
    172172    int32_t rcRet = VERR_INTERNAL_ERROR;
    173     ULONG cbRet = sizeof(rcRet);
    174173    int rc = DosDevIOCtl(g_hDevice, SUP_CTL_CATEGORY_FAST, uFunction,
    175174                         NULL, 0, NULL,
    176                          &rcRet, sizeof(rcRet), &cbRet);
     175                         NULL, 0, NULL);
    177176    if (RT_LIKELY(rc == NO_ERROR))
    178177        rc = rcRet;
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