Changeset 99828 in vbox for trunk/src/VBox/HostDrivers/VBoxNetFlt/win/cfg
- Timestamp:
- May 17, 2023 1:48:57 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/win/cfg/VBoxNetCfg.cpp
r98103 r99828 1357 1357 1358 1358 static HRESULT netIfExecMethod(IWbemServices * pSvc, IWbemClassObject *pClass, com::Bstr const &rObjPath, 1359 const char *pszMethodName, LP WSTR *papwszArgNames, LPVARIANT *pArgs, UINT cArgs,1359 const char *pszMethodName, LPCWSTR *papwszArgNames, LPVARIANT *pArgs, UINT cArgs, 1360 1360 IWbemClassObject **ppOutParams) 1361 1361 { … … 1503 1503 if (SUCCEEDED(hr)) 1504 1504 { 1505 LP WSTR argNames[] = {L"IPAddress", L"SubnetMask"};1506 LPVARIANT args[] = { pIp, pMask };1505 LPCWSTR argNames[] = {L"IPAddress", L"SubnetMask"}; 1506 LPVARIANT args[] = { pIp, pMask }; 1507 1507 1508 1508 ComPtr<IWbemClassObject> pOutParams; … … 1596 1596 if (SUCCEEDED(hr)) 1597 1597 { 1598 LP WSTR argNames[] = {L"DefaultIPGateway"};1599 LPVARIANT args[] = {pGw};1598 LPCWSTR argNames[] = {L"DefaultIPGateway"}; 1599 LPVARIANT args[] = {pGw}; 1600 1600 ComPtr<IWbemClassObject> pOutParams; 1601 1601
Note:
See TracChangeset
for help on using the changeset viewer.