VirtualBox

Changeset 10627 in vbox for trunk/src/VBox/Additions/common


Ignore:
Timestamp:
Jul 15, 2008 7:42:25 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
33336
Message:

Windows guest logging R3: Removed not needed output buffer in IOCTL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3Lib.cpp

    r10484 r10627  
    308308#if defined(RT_OS_WINDOWS)
    309309    DWORD cbReturned = 0;
    310     if (!DeviceIoControl(g_hFile, iFunction, pvData, cbData, pvData, cbData, &cbReturned, NULL))
     310    if (!DeviceIoControl(g_hFile, iFunction, pvData, cbData, NULL, 0, &cbReturned, NULL))
    311311    {
    312312/** @todo The passing of error codes needs to be tested and fixed (as does *all* the other hosts except for
     
    314314 * transfered without loss down to ring-3. However, it's not vitally important right now (obviously, since
    315315 * the other guys has been ignoring it for 1+ years now). */
    316         DWORD LastErr = GetLastError();
    317         return RTErrConvertFromWin32(LastErr);
     316        return RTErrConvertFromWin32(GetLastError());
    318317    }
    319318
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