Changeset 107744 in vbox
- Timestamp:
- Jan 14, 2025 9:56:21 AM (2 months ago)
- svn:sync-xref-src-repo-rev:
- 166852
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/testcase/tstVBoxAPIXPCOM.cpp
r106061 r107744 217 217 /* alternative to illustrate the use of string classes */ 218 218 rc = machine->SetName(NS_ConvertUTF8toUTF16("A new name").get()); 219 if (NS_FAILED(rc)) 220 { 221 printf("Error: could not set name for machine! rc=%#x\n", rc); 222 return; 223 } 224 219 225 rc = machine->SetMemorySize(128); 226 if (NS_FAILED(rc)) 227 { 228 printf("Error: could not set memory size for machine! rc=%#x\n", rc); 229 return; 230 } 220 231 221 232 /*
Note:
See TracChangeset
for help on using the changeset viewer.