Changeset 92925 in vbox for trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibClipboard.cpp
- Timestamp:
- Dec 15, 2021 11:52:10 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibClipboard.cpp
r91740 r92925 637 637 rc = Msg.ReqParms.fRoots.GetUInt32(&pRootListHdr->fRoots); AssertRC(rc); 638 638 if (RT_SUCCESS(rc)) 639 rc = Msg.cRoots.GetUInt32(&pRootListHdr->cRoots); AssertRC(rc); 639 { 640 rc = Msg.cRoots.GetUInt32(&pRootListHdr->cRoots); 641 AssertRC(rc); 642 } 640 643 } 641 644 … … 780 783 rc = Msg.uContext.GetUInt64(&pCtx->idContext); AssertRC(rc); 781 784 if (RT_SUCCESS(rc)) 782 rc = Msg.enmDir.GetUInt32((uint32_t *)pEnmDir); AssertRC(rc); 783 if (RT_SUCCESS(rc)) 784 rc = Msg.enmStatus.GetUInt32(&pReport->uStatus); AssertRC(rc); 785 if (RT_SUCCESS(rc)) 786 rc = Msg.rc.GetUInt32((uint32_t *)&pReport->rc); AssertRC(rc); 787 if (RT_SUCCESS(rc)) 788 rc = Msg.fFlags.GetUInt32(&pReport->fFlags); AssertRC(rc); 785 { 786 rc = Msg.enmDir.GetUInt32((uint32_t *)pEnmDir); 787 AssertRC(rc); 788 } 789 if (RT_SUCCESS(rc)) 790 { 791 rc = Msg.enmStatus.GetUInt32(&pReport->uStatus); 792 AssertRC(rc); 793 } 794 if (RT_SUCCESS(rc)) 795 { 796 rc = Msg.rc.GetUInt32((uint32_t *)&pReport->rc); 797 AssertRC(rc); 798 } 799 if (RT_SUCCESS(rc)) 800 { 801 rc = Msg.fFlags.GetUInt32(&pReport->fFlags); 802 AssertRC(rc); 803 } 789 804 } 790 805 … … 853 868 rc = Msg.ReqParms.uContext.GetUInt64(&pCtx->idContext); AssertRC(rc); 854 869 if (RT_SUCCESS(rc)) 855 rc = Msg.ReqParms.fRoots.GetUInt32(pfRoots); AssertRC(rc); 870 { 871 rc = Msg.ReqParms.fRoots.GetUInt32(pfRoots); 872 AssertRC(rc); 873 } 856 874 } 857 875 … … 914 932 rc = Msg.Parms.uContext.GetUInt64(&pCtx->idContext); AssertRC(rc); 915 933 if (RT_SUCCESS(rc)) 916 rc = Msg.Parms.fInfo.GetUInt32(pfInfo); AssertRC(rc); 917 if (RT_SUCCESS(rc)) 918 rc = Msg.Parms.uIndex.GetUInt32(puIndex); AssertRC(rc); 934 { 935 rc = Msg.Parms.fInfo.GetUInt32(pfInfo); 936 AssertRC(rc); 937 } 938 if (RT_SUCCESS(rc)) 939 { 940 rc = Msg.Parms.uIndex.GetUInt32(puIndex); 941 AssertRC(rc); 942 } 919 943 } 920 944 … … 1076 1100 rc = Msg.uContext.GetUInt64(&pCtx->idContext); 1077 1101 if (RT_SUCCESS(rc)) 1078 rc = Msg.uHandle.GetUInt64(phList); AssertRC(rc); 1102 { 1103 rc = Msg.uHandle.GetUInt64(phList); 1104 AssertRC(rc); 1105 } 1079 1106 } 1080 1107 … … 1310 1337 rc = Msg.ReqParms.uContext.GetUInt64(&pCtx->idContext); 1311 1338 if (RT_SUCCESS(rc)) 1312 rc = Msg.ReqParms.uHandle.GetUInt64(phList); AssertRC(rc); 1313 if (RT_SUCCESS(rc)) 1314 rc = Msg.ReqParms.fInfo.GetUInt32(pfInfo); AssertRC(rc); 1339 { 1340 rc = Msg.ReqParms.uHandle.GetUInt64(phList); 1341 AssertRC(rc); 1342 } 1343 if (RT_SUCCESS(rc)) 1344 { 1345 rc = Msg.ReqParms.fInfo.GetUInt32(pfInfo); 1346 AssertRC(rc); 1347 } 1315 1348 } 1316 1349
Note:
See TracChangeset
for help on using the changeset viewer.