VirtualBox

Changeset 56273 in vbox


Ignore:
Timestamp:
Jun 8, 2015 11:09:23 AM (9 years ago)
Author:
vboxsync
Message:

Main/Console: detect NDIS version without admin privileges (#7849)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp

    r56269 r56273  
    44424442    LogFlowFunc(("entry\n"));
    44434443    HANDLE hFile = CreateFile(L"\\\\.\\VBoxNetLwf",
    4444                               GENERIC_READ,
     4444                              0,
    44454445                              FILE_SHARE_READ | FILE_SHARE_WRITE,
    44464446                              NULL,
     
    44514451    if (fNdis6)
    44524452        CloseHandle(hFile);
     4453    else
     4454        LogFunc(("CreateFile failed with 0x%x\n", GetLastError()));
    44534455    LogFlowFunc(("return %s\n", fNdis6 ? "true" : "false"));
    44544456    return fNdis6;
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