Changeset 17999 in vbox
- Timestamp:
- Mar 17, 2009 8:22:40 AM (16 years ago)
- Location:
- trunk/src/VBox/Additions/common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp
r17210 r17999 1146 1146 { 1147 1147 VBoxGuestHGCMDisconnectInfo Info; 1148 Info.result = (uint32_t)VERR_WRONG_ORDER; /** @todo Vitali, why is this member unsigned? */1148 Info.result = VERR_WRONG_ORDER; 1149 1149 Info.u32ClientID = pDevExt->u32ClipboardClientId; 1150 1150 rc = VbglHGCMDisconnect(&Info, VBoxGuestHGCMAsyncWaitCallback, pDevExt, RT_INDEFINITE_WAIT); … … 1169 1169 strcpy(Info.Loc.u.host.achName, "VBoxSharedClipboard"); 1170 1170 Info.u32ClientID = 0; 1171 Info.result = (uint32_t)VERR_WRONG_ORDER;1171 Info.result = VERR_WRONG_ORDER; 1172 1172 1173 1173 rc = VbglHGCMConnect(&Info, VBoxGuestHGCMAsyncWaitCallback, pDevExt, RT_INDEFINITE_WAIT); … … 1177 1177 return rc; 1178 1178 } 1179 if (RT_FAILURE( (int32_t)Info.result))1179 if (RT_FAILURE(Info.result)) 1180 1180 { 1181 1181 LogRel(("VBoxGuestCommonIOCtl: CLIPBOARD_CONNECT: VbglHGCMConnected -> rc=%Rrc\n", rc)); -
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibClipboard.cpp
r10552 r17999 43 43 { 44 44 VBoxGuestHGCMConnectInfo Info; 45 Info.result = (uint32_t)VERR_WRONG_ORDER; /** @todo drop the cast when the result type has been fixed! */45 Info.result = VERR_WRONG_ORDER; 46 46 Info.Loc.type = VMMDevHGCMLoc_LocalHost_Existing; 47 47 memset(&Info.Loc.u, 0, sizeof(Info.Loc.u)); … … 69 69 { 70 70 VBoxGuestHGCMDisconnectInfo Info; 71 Info.result = (uint32_t)VERR_WRONG_ORDER; /** @todo drop the cast when the result type has been fixed! */71 Info.result = VERR_WRONG_ORDER; 72 72 Info.u32ClientID = u32ClientId; 73 73 … … 93 93 VBoxClipboardGetHostMsg Msg; 94 94 95 Msg.hdr.result = (uint32_t)VERR_WRONG_ORDER; /** @todo drop the cast when the result type has been fixed! */95 Msg.hdr.result = VERR_WRONG_ORDER; 96 96 Msg.hdr.u32ClientID = u32ClientId; 97 97 Msg.hdr.u32Function = VBOX_SHARED_CLIPBOARD_FN_GET_HOST_MSG; … … 142 142 VBoxClipboardReadData Msg; 143 143 144 Msg.hdr.result = (uint32_t)VERR_WRONG_ORDER; /** @todo drop the cast when the result type has been fixed! */144 Msg.hdr.result = VERR_WRONG_ORDER; 145 145 Msg.hdr.u32ClientID = u32ClientId; 146 146 Msg.hdr.u32Function = VBOX_SHARED_CLIPBOARD_FN_READ_DATA; … … 182 182 VBoxClipboardFormats Msg; 183 183 184 Msg.hdr.result = (uint32_t)VERR_WRONG_ORDER; /** @todo drop the cast when the result type has been fixed! */184 Msg.hdr.result = VERR_WRONG_ORDER; 185 185 Msg.hdr.u32ClientID = u32ClientId; 186 186 Msg.hdr.u32Function = VBOX_SHARED_CLIPBOARD_FN_FORMATS; … … 210 210 { 211 211 VBoxClipboardWriteData Msg; 212 Msg.hdr.result = (uint32_t)VERR_WRONG_ORDER; /** @todo drop the cast when the result type has been fixed! */212 Msg.hdr.result = VERR_WRONG_ORDER; 213 213 Msg.hdr.u32ClientID = u32ClientId; 214 214 Msg.hdr.u32Function = VBOX_SHARED_CLIPBOARD_FN_WRITE_DATA;
Note:
See TracChangeset
for help on using the changeset viewer.