儲存庫 vbox 的更動 68527
- 時間撮記:
- 2017-8-24 下午07:19:22 (7 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibClipboard.cpp
r68502 r68527 73 73 * @param pfFormats Where to store the format(s) the message applies to. 74 74 */ 75 VBGLR3DECL(int) VbglR3ClipboardGetHostMsg(HGCMCLIENTID idClient, uint32_t *p Msg, uint32_t *pfFormats)75 VBGLR3DECL(int) VbglR3ClipboardGetHostMsg(HGCMCLIENTID idClient, uint32_t *pidMsg, uint32_t *pfFormats) 76 76 { 77 77 VBoxClipboardGetHostMsg Msg; … … 81 81 VbglHGCMParmUInt32Set(&Msg.formats, 0); 82 82 83 int rc = VbglR3HGCMCall Raw(&Msg.hdr, sizeof(Msg));83 int rc = VbglR3HGCMCall(&Msg.hdr, sizeof(Msg)); 84 84 if (RT_SUCCESS(rc)) 85 85 { 86 uint32_t u32Msg; 87 rc = VbglHGCMParmUInt32Get(&Msg.msg, &u32Msg); 86 int rc2 = VbglHGCMParmUInt32Get(&Msg.msg, pidMsg); 88 87 if (RT_SUCCESS(rc)) 89 88 { 90 uint32_t fFormats; 91 rc = VbglHGCMParmUInt32Get(&Msg.formats, &fFormats); 92 if (RT_SUCCESS(rc)) 93 { 94 *pMsg = u32Msg; 95 *pfFormats = fFormats; 96 return Msg.hdr.result; 97 } 89 rc2 = VbglHGCMParmUInt32Get(&Msg.formats, pfFormats); 90 if (RT_SUCCESS(rc2)) 91 return rc; 98 92 } 93 rc = rc2; 99 94 } 100 95 *pidMsg = UINT32_MAX - 1; 96 *pfFormats = UINT32_MAX; 101 97 return rc; 102 98 }
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器