Changeset 84985 in vbox
- Timestamp:
- Jun 29, 2020 9:52:37 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibDragAndDrop.cpp
r84984 r84985 73 73 74 74 HGCMMsgGetNext Msg; 75 RT_ZERO(Msg);76 75 VBGL_HGCM_HDR_INIT(&Msg.hdr, pCtx->uClientID, GUEST_DND_GET_NEXT_HOST_MSG, 3); 77 76 Msg.uMsg.SetUInt32(0); … … 128 127 129 128 HGCMMsgHGAction Msg; 130 RT_ZERO(Msg);131 132 129 VBGL_HGCM_HDR_INIT(&Msg.hdr, pCtx->uClientID, uMsg, 8); 133 130 Msg.u.v3.uContext.SetUInt32(0); … … 185 182 186 183 HGCMMsgHGLeave Msg; 187 RT_ZERO(Msg);188 189 184 VBGL_HGCM_HDR_INIT(&Msg.hdr, pCtx->uClientID, HOST_DND_HG_EVT_LEAVE, 1); 190 185 /** @todo Context ID not used yet. */ … … 206 201 207 202 HGCMMsgHGCancel Msg; 208 RT_ZERO(Msg);209 210 203 VBGL_HGCM_HDR_INIT(&Msg.hdr, pCtx->uClientID, HOST_DND_CANCEL, 1); 211 204 /** @todo Context ID not used yet. */ … … 239 232 240 233 HGCMMsgHGSendDir Msg; 241 RT_ZERO(Msg);242 243 234 VBGL_HGCM_HDR_INIT(&Msg.hdr, pCtx->uClientID, HOST_DND_HG_SND_DIR, 4); 244 235 /** @todo Context ID not used yet. */ … … 282 273 283 274 HGCMMsgHGSendFileData Msg; 284 RT_ZERO(Msg);285 286 275 VBGL_HGCM_HDR_INIT(&Msg.hdr, pCtx->uClientID, HOST_DND_HG_SND_FILE_DATA, 5); 287 276 Msg.u.v3.uContext.SetUInt32(0); … … 330 319 331 320 HGCMMsgHGSendFileHdr Msg; 332 RT_ZERO(Msg);333 334 321 VBGL_HGCM_HDR_INIT(&Msg.hdr, pCtx->uClientID, HOST_DND_HG_SND_FILE_HDR, 6); 335 322 Msg.uContext.SetUInt32(0); /** @todo Not used yet. */ … … 658 645 659 646 HGCMMsgHGSendData Msg; 660 RT_ZERO(Msg);661 662 647 VBGL_HGCM_HDR_INIT(&Msg.hdr, pCtx->uClientID, HOST_DND_HG_SND_DATA, 5); 663 648 Msg.u.v3.uContext.SetUInt32(0); … … 704 689 705 690 HGCMMsgHGSendDataHdr Msg; 706 RT_ZERO(Msg);707 691 VBGL_HGCM_HDR_INIT(&Msg.hdr, pCtx->uClientID, HOST_DND_HG_SND_DATA_HDR, 12); 708 692 Msg.uContext.SetUInt32(0); … … 971 955 972 956 HGCMMsgGHReqPending Msg; 973 RT_ZERO(Msg);974 975 957 VBGL_HGCM_HDR_INIT(&Msg.hdr, pCtx->uClientID, HOST_DND_GH_REQ_PENDING, 2); 976 958 /** @todo Context ID not used yet. */ … … 1014 996 1015 997 HGCMMsgGHDropped Msg; 1016 RT_ZERO(Msg);1017 1018 998 VBGL_HGCM_HDR_INIT(&Msg.hdr, pCtx->uClientID, HOST_DND_GH_EVT_DROPPED, 4); 1019 999 Msg.u.v3.uContext.SetUInt32(0); … … 1112 1092 */ 1113 1093 HGCMMsgConnect Msg; 1114 RT_ZERO(Msg);1115 1116 1094 VBGL_HGCM_HDR_INIT(&Msg.hdr, pCtx->uClientID, GUEST_DND_CONNECT, 3); 1117 1095 /** @todo Context ID not used yet. */ … … 1367 1345 1368 1346 HGCMMsgHGAck Msg; 1369 RT_ZERO(Msg);1370 1371 1347 VBGL_HGCM_HDR_INIT(&Msg.hdr, pCtx->uClientID, GUEST_DND_HG_ACK_OP, 2); 1372 1348 /** @todo Context ID not used yet. */ … … 1395 1371 1396 1372 HGCMMsgHGReqData Msg; 1397 RT_ZERO(Msg);1398 1399 1373 VBGL_HGCM_HDR_INIT(&Msg.hdr, pCtx->uClientID, GUEST_DND_HG_REQ_DATA, 3); 1400 1374 /** @todo Context ID not used yet. */ … … 1422 1396 1423 1397 HGCMMsgHGProgress Msg; 1424 RT_ZERO(Msg);1425 1426 1398 VBGL_HGCM_HDR_INIT(&Msg.hdr, pCtx->uClientID, GUEST_DND_HG_EVT_PROGRESS, 4); 1427 1399 /** @todo Context ID not used yet. */ … … 1459 1431 1460 1432 HGCMMsgGHAckPending Msg; 1461 RT_ZERO(Msg);1462 1463 1433 VBGL_HGCM_HDR_INIT(&Msg.hdr, pCtx->uClientID, GUEST_DND_GH_ACK_PENDING, 5); 1464 1434 /** @todo Context ID not used yet. */ … … 1491 1461 1492 1462 HGCMMsgGHSendDataHdr MsgHdr; 1493 RT_ZERO(MsgHdr);1494 1495 1463 VBGL_HGCM_HDR_INIT(&MsgHdr.hdr, pCtx->uClientID, GUEST_DND_GH_SND_DATA_HDR, 12); 1496 1464 MsgHdr.uContext.SetUInt32(0); /** @todo Not used yet. */ … … 1576 1544 1577 1545 HGCMMsgGHSendDir Msg; 1578 RT_ZERO(Msg);1579 1580 1546 VBGL_HGCM_HDR_INIT(&Msg.hdr, pCtx->uClientID, GUEST_DND_GH_SND_DIR, 4); 1581 1547 /** @todo Context ID not used yet. */ … … 1614 1580 1615 1581 HGCMMsgGHSendFileHdr MsgHdr; 1616 RT_ZERO(MsgHdr);1617 1618 1582 VBGL_HGCM_HDR_INIT(&MsgHdr.hdr, pCtx->uClientID, GUEST_DND_GH_SND_FILE_HDR, 6); 1619 1583 MsgHdr.uContext.SetUInt32(0); /* Context ID; unused at the moment. */ … … 1634 1598 */ 1635 1599 HGCMMsgGHSendFileData Msg; 1636 RT_ZERO(Msg);1637 1638 1600 VBGL_HGCM_HDR_INIT(&Msg.hdr, pCtx->uClientID, GUEST_DND_GH_SND_FILE_DATA, 5); 1639 1601 Msg.u.v3.uContext.SetUInt32(0); … … 1869 1831 1870 1832 HGCMMsgGHError Msg; 1871 RT_ZERO(Msg);1872 1873 1833 VBGL_HGCM_HDR_INIT(&Msg.hdr, pCtx->uClientID, GUEST_DND_GH_EVT_ERROR, 2); 1874 1834 /** @todo Context ID not used yet. */
Note:
See TracChangeset
for help on using the changeset viewer.