- Timestamp:
- Sep 16, 2013 3:09:24 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/testcase/tstAPI.cpp
r48334 r48490 1216 1216 // DNS & Co. 1217 1217 /////////////////////////////////////////////////////////////////////////// 1218 /* XXX: Note it's endless loop */ 1218 1219 do 1219 1220 { … … 1226 1227 RTPrintf("Domain name: %ls\n", domainName.raw()); 1227 1228 } 1228 } 1229 while (FALSE); 1229 1230 com::SafeArray<BSTR> strs; 1231 CHECK_ERROR_BREAK(host, COMGETTER(NameServers)(ComSafeArrayAsOutParam(strs))); 1232 1233 unsigned int i; 1234 for (i = 0; i < strs.size(); ++i) 1235 RTPrintf("Name server[%d]:%s\n", i, com::Utf8Str(strs[i]).c_str()); 1236 1237 RTThreadSleep(1000); 1238 } 1239 while (1); 1230 1240 RTPrintf("\n"); 1231 1241 #endif
Note:
See TracChangeset
for help on using the changeset viewer.