VirtualBox

Ignore:
Timestamp:
Apr 18, 2020 1:25:05 PM (5 years ago)
Author:
vboxsync
Message:

Main: VC++ 14.1 adjustments. bugref:8489

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/HostNetworkInterfaceImpl.cpp

    r82968 r83794  
    161161{
    162162    AssertReturn(mVirtualBox != NULL, E_POINTER);
    163     return mVirtualBox->SetExtraData(BstrFmt("HostOnly/{%RTuuid}/%s", mGuid, szParamName).raw(), Bstr(strValue).raw());
     163    return mVirtualBox->SetExtraData(BstrFmt("HostOnly/{%RTuuid}/%s", mGuid.raw(), szParamName).raw(), Bstr(strValue).raw());
    164164}
    165165
     
    167167{
    168168    AssertReturn(mVirtualBox != NULL, E_POINTER);
    169     return mVirtualBox->SetExtraData(BstrFmt("HostOnly/{%RTuuid}/%s", mGuid, szParamName).raw(), NULL);
     169    return mVirtualBox->SetExtraData(BstrFmt("HostOnly/{%RTuuid}/%s", mGuid.raw(), szParamName).raw(), NULL);
    170170}
    171171
     
    204204        return false; /* Trigger config update, which will fail with proper return code */
    205205    Bstr tmpName;
    206     mVirtualBox->GetExtraData(BstrFmt("HostOnly/{%RTuuid}/Name", mGuid).raw(), tmpName.asOutParam());
     206    mVirtualBox->GetExtraData(BstrFmt("HostOnly/{%RTuuid}/Name", mGuid.raw()).raw(), tmpName.asOutParam());
    207207    return (tmpName.isNotEmpty() && tmpName == mInterfaceName);
    208208
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