VirtualBox

Ignore:
Timestamp:
May 17, 2023 1:48:57 PM (21 months ago)
Author:
vboxsync
Message:

*: A bunch of adjustments that allows using /permissive- with Visual C++ (qt 6.x necessity).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/win/cfg/VBoxNetCfg.cpp

    r98103 r99828  
    13571357
    13581358static HRESULT netIfExecMethod(IWbemServices * pSvc, IWbemClassObject *pClass, com::Bstr const &rObjPath,
    1359                                const char *pszMethodName, LPWSTR *papwszArgNames, LPVARIANT *pArgs, UINT cArgs,
     1359                               const char *pszMethodName, LPCWSTR *papwszArgNames, LPVARIANT *pArgs, UINT cArgs,
    13601360                               IWbemClassObject **ppOutParams)
    13611361{
     
    15031503        if (SUCCEEDED(hr))
    15041504        {
    1505             LPWSTR argNames[] = {L"IPAddress", L"SubnetMask"};
    1506             LPVARIANT  args[] = {         pIp,        pMask };
     1505            LPCWSTR argNames[] = {L"IPAddress", L"SubnetMask"};
     1506            LPVARIANT   args[] = {         pIp,        pMask };
    15071507
    15081508            ComPtr<IWbemClassObject> pOutParams;
     
    15961596        if (SUCCEEDED(hr))
    15971597        {
    1598             LPWSTR argNames[] = {L"DefaultIPGateway"};
    1599             LPVARIANT args[] = {pGw};
     1598            LPCWSTR argNames[] = {L"DefaultIPGateway"};
     1599            LPVARIANT args[]   = {pGw};
    16001600            ComPtr<IWbemClassObject> pOutParams;
    16011601
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