Changeset 98302 in vbox for trunk/src/VBox/Main/testcase
- Timestamp:
- Jan 25, 2023 9:07:43 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/testcase/tstAPI.cpp
r98103 r98302 710 710 RTPrintf("Accessing the machine in read-only mode:\n"); 711 711 readAndChangeMachineSettings(machine); 712 #if 0713 if (argc != 2)714 {715 RTPrintf("Error: a string has to be supplied!\n");716 }717 else718 {719 Bstr secureLabel = argv[1];720 machine->COMSETTER(ExtraData)(L"VBoxSDL/SecureLabel", secureLabel);721 }722 #endif723 712 } 724 713 while (0); … … 1142 1131 RTPrintf("Getting machine session object...\n"); 1143 1132 CHECK_RC_BREAK(session->COMGETTER(Machine)(sessionMachine.asOutParam())); 1144 1145 #if 01146 Bstr extraDataKey = "VBoxSDL/SecureLabel";1147 Bstr extraData = "Das kommt jetzt noch viel krasser vom total konkreten API!";1148 CHECK_RC(sessionMachine->SetExtraData(extraDataKey, extraData));1149 #endif1150 1133 #if 0 1151 1134 ComPtr<IConsole> console;
Note:
See TracChangeset
for help on using the changeset viewer.