Changeset 18543 in vbox
- Timestamp:
- Mar 30, 2009 1:08:12 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/Main/win/NetIfList-win.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/win/NetIfList-win.cpp
r18375 r18543 1714 1714 INetCfgComponent *pMpNcc; 1715 1715 LPWSTR lpszApp; 1716 WCHAR ConnectoinName[128]; 1716 1717 1717 1718 HRESULT hr = VBoxNetCfgWinQueryINetCfg( FALSE, … … 1733 1734 Bstr str(name); 1734 1735 str.detachTo(pName); 1735 WCHAR ConnectoinName[128];1736 1736 ULONG cbBuf = sizeof(ConnectoinName); 1737 1737 1738 1738 hr = VBoxNetCfgWinGenHostonlyConnectionName (name, ConnectoinName, &cbBuf); 1739 if(hr == S_OK)1740 {1741 hr = VBoxNetCfgWinRenameConnection ((GUID*)aGUID.raw(), ConnectoinName);1742 }1743 1739 1744 1740 CoTaskMemFree (name); … … 1748 1744 } 1749 1745 VBoxNetCfgWinReleaseINetCfg(pNc, FALSE); 1746 } 1747 1748 if(hr == S_OK) 1749 { 1750 hr = VBoxNetCfgWinRenameConnection ((GUID*)aGUID.raw(), ConnectoinName); 1750 1751 } 1751 1752
Note:
See TracChangeset
for help on using the changeset viewer.

