VirtualBox

Changeset 93181 in vbox for trunk/src


Ignore:
Timestamp:
Jan 11, 2022 11:00:43 AM (3 years ago)
Author:
vboxsync
Message:

SUP: A couple of adjustments for driverless mode. bugref:10138 [fix for r149191]

File:
1 edited

Legend:

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

    r93177 r93181  
    187187        return VERR_INVALID_MAGIC;
    188188    if (    !(fFlags & SUPSECMAIN_FLAGS_DONT_OPEN_DEV)
    189         &&  pPreInitData->Data.hDevice == SUP_HDEVICE_NIL)
     189        &&  pPreInitData->Data.hDevice == SUP_HDEVICE_NIL
     190        &&  !pPreInitData->Data.fDriverless)
    190191        return VERR_INVALID_HANDLE;
    191192    if (    (fFlags & SUPSECMAIN_FLAGS_DONT_OPEN_DEV)
    192         &&  pPreInitData->Data.hDevice != SUP_HDEVICE_NIL
    193         &&  !pPreInitData->Data.fDriverless)
     193        &&  pPreInitData->Data.hDevice != SUP_HDEVICE_NIL)
    194194        return VERR_INVALID_PARAMETER;
    195195
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