Changeset 26587 in vbox for trunk/src/VBox/Main/win/NetIf-win.cpp
- Timestamp:
- Feb 16, 2010 4:57:09 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/win/NetIf-win.cpp
r26186 r26587 908 908 if(hr == S_OK) 909 909 { 910 size_t cUnicodeName = wcslen(lpszName) + 1; 911 size_t uniLen = (cUnicodeName * 2 + sizeof (OLECHAR) - 1) / sizeof (OLECHAR); 912 Bstr name (uniLen + 1 /* extra zero */); 913 wcscpy((wchar_t *) name.mutableRaw(), lpszName); 910 Bstr name(lpszName); 914 911 915 912 hr = pncc->GetInstanceGuid(&IfGuid);
Note:
See TracChangeset
for help on using the changeset viewer.