Changeset 75798 in vbox for trunk/src/VBox/Additions/common/VBoxGuest
- Timestamp:
- Nov 28, 2018 11:47:11 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 127001
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibGuestCtrl.cpp
r75758 r75798 366 366 367 367 368 /**369 * Disables a previously set message filter.370 *371 * @return IPRT status code.372 * @param uClientId The client ID returned by VbglR3GuestCtrlConnect().373 */374 VBGLR3DECL(int) VbglR3GuestCtrlMsgFilterUnset(uint32_t uClientId)375 {376 /* Tell the host we want to unset the filter. */377 HGCMMsgCmdFilterUnset Msg;378 VBGL_HGCM_HDR_INIT(&Msg.hdr, uClientId, GUEST_MSG_FILTER_UNSET, 1);379 VbglHGCMParmUInt32Set(&Msg.flags, 0 /* Flags, unused */);380 381 return VbglR3HGCMCall(&Msg.hdr, sizeof(Msg));382 }383 384 385 368 VBGLR3DECL(int) VbglR3GuestCtrlMsgReply(PVBGLR3GUESTCTRLCMDCTX pCtx, 386 369 int rc) … … 416 399 * @param uClientId The client ID returned by VbglR3GuestCtrlConnect(). 417 400 */ 418 VBGLR3DECL(int) VbglR3GuestCtrlMsgSkip (uint32_t uClientId)401 VBGLR3DECL(int) VbglR3GuestCtrlMsgSkipOld(uint32_t uClientId) 419 402 { 420 403 HGCMMsgCmdSkip Msg; 421 404 422 405 /* Tell the host we want to skip the current assigned command. */ 423 VBGL_HGCM_HDR_INIT(&Msg.hdr, uClientId, GUEST_MSG_SKIP , 1);406 VBGL_HGCM_HDR_INIT(&Msg.hdr, uClientId, GUEST_MSG_SKIP_OLD, 1); 424 407 VbglHGCMParmUInt32Set(&Msg.flags, 0 /* Flags, unused */); 425 408 return VbglR3HGCMCall(&Msg.hdr, sizeof(Msg)); … … 436 419 { 437 420 HGCMMsgCancelPendingWaits Msg; 438 VBGL_HGCM_HDR_INIT(&Msg.hdr, uClientId, GUEST_ CANCEL_PENDING_WAITS, 0);421 VBGL_HGCM_HDR_INIT(&Msg.hdr, uClientId, GUEST_MSG_CANCEL, 0); 439 422 return VbglR3HGCMCall(&Msg.hdr, sizeof(Msg)); 440 423 }
Note:
See TracChangeset
for help on using the changeset viewer.