VirtualBox

Ignore:
Timestamp:
Jul 18, 2017 2:15:32 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
117046
Message:

Main/NetIf (bugref:8915) Moved wireless detection from ConsoleImpl2.cpp to NetIf and exposed wireless flag via IHostNetworkInterface.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/HostNetworkInterfaceImpl.h

    r65120 r68026  
    7070    HRESULT getInterfaceType(HostNetworkInterfaceType_T *aType);
    7171    HRESULT getNetworkName(com::Utf8Str &aNetworkName);
     72    HRESULT getWireless(BOOL *aWireless);
    7273
    7374    // Wrapped IHostNetworkInterface methods
     
    9394        Data() : IPAddress(0), networkMask(0), dhcpEnabled(FALSE),
    9495            mediumType(HostNetworkInterfaceMediumType_Unknown),
    95             status(HostNetworkInterfaceStatus_Down){}
     96            status(HostNetworkInterfaceStatus_Down), wireless(FALSE){}
    9697
    9798        ULONG IPAddress;
     
    108109        HostNetworkInterfaceStatus_T status;
    109110        ULONG speedMbits;
     111        BOOL wireless;
    110112    } m;
    111113
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