Changeset 94184 in vbox for trunk/src/VBox/Additions/common/VBoxControl/VBoxControl.cpp
- Timestamp:
- Mar 11, 2022 6:24:17 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxControl/VBoxControl.cpp
r93300 r94184 1515 1515 uint64_t u64TimestampOut = 0; 1516 1516 char *pszFlags = NULL; 1517 bool fWasDeleted = false; 1517 1518 /* The buffer for storing the data and its initial size. We leave a bit 1518 1519 * of space here in case the maximum values are raised. */ … … 1538 1539 u64TimestampIn, u32Timeout, 1539 1540 &pszName, &pszValue, &u64TimestampOut, 1540 &pszFlags, &cbBuf );1541 &pszFlags, &cbBuf, &fWasDeleted); 1541 1542 } 1542 1543 if (VERR_BUFFER_OVERFLOW == rc) … … 1562 1563 else if (RT_SUCCESS(rc)) 1563 1564 { 1564 RTPrintf("Name: %s\n", pszName); 1565 RTPrintf("Value: %s\n", pszValue); 1566 RTPrintf("Timestamp: %lld ns\n", u64TimestampOut); 1567 RTPrintf("Flags: %s\n", pszFlags); 1565 if (fWasDeleted) 1566 { 1567 RTPrintf("Property %s was deleted\n", pszName); 1568 } 1569 else 1570 { 1571 RTPrintf("Name: %s\n", pszName); 1572 RTPrintf("Value: %s\n", pszValue); 1573 RTPrintf("Timestamp: %lld ns\n", u64TimestampOut); 1574 RTPrintf("Flags: %s\n", pszFlags); 1575 } 1568 1576 } 1569 1577
Note:
See TracChangeset
for help on using the changeset viewer.