VirtualBox

Changeset 49213 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Oct 21, 2013 2:56:48 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
90101
Message:

SUPLib-win.cpp: wrong conversion of fast call ioctl, the idCpu must be passed as output for it to arrive in as UserBuffer in kernel context.

File:
1 edited

Legend:

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

    r49150 r49213  
    55
    66/*
    7  * Copyright (C) 2006-2012 Oracle Corporation
     7 * Copyright (C) 2006-2013 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    541541    NTSTATUS rcNt = NtDeviceIoControlFile((HANDLE)pThis->hDevice, NULL /*hEvent*/, NULL /*pfnApc*/, NULL /*pvApcCtx*/, &Ios,
    542542                                          (ULONG)uFunction,
    543                                           (PVOID)idCpu /*pvInput */, 0 /* cbInput */,
    544                                           NULL /*pvOutput*/, 0 /* cbOutput */);
     543                                          NULL /*pvInput */, 0 /* cbInput */,
     544                                          (PVOID)idCpu /*pvOutput*/, 0 /* cbOutput */);
    545545    if (NT_SUCCESS(rcNt))
    546546    {
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