VirtualBox

Ignore:
Timestamp:
Apr 8, 2013 9:40:42 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
84843
Message:

GuestCtrl: Implemented using (public) VirtualBox events instead of own callback mechanisms. Bugfixes for testcases (still work in progress).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/HostServices/GuestControlSvc.h

    r45109 r45415  
    6363/** Gets the session ID out of a context ID. */
    6464#define VBOX_GUESTCTRL_CONTEXTID_GET_SESSION(uContextID) \
    65     ((uContextID) >> 27)
     65    (((uContextID) >> 27) & 0x1f)
    6666/** Gets the process ID out of a context ID. */
    6767#define VBOX_GUESTCTRL_CONTEXTID_GET_OBJECT(uContextID) \
     
    308308    GUEST_MSG_FILTER = 4,
    309309    /**
     310     * Skips the current assigned message returned by GUEST_MSG_WAIT.
     311     * Needed for telling the host service to not keep stale
     312     * host commands in the queue.
     313     */
     314    GUEST_MSG_SKIP = 5,
     315    /**
    310316     * Guest reports back a guest session status.
    311317     */
     
    414420/**
    415421 * Asks the guest control host service to set a command
    416  * filter for this client. The filter itself will affect
    417  * the context ID bound to a command.
     422 * filter for this client. This filter will then only
     423 * deliver messages to the client which match the
     424 * wanted context ID (ranges).
    418425 */
    419426typedef struct HGCMMsgCmdSetFilter
     
    429436
    430437/**
     438 * Asks the guest control host service to skip the
     439 * currently assigned host command returned by
     440 * VbglR3GuestCtrlMsgWaitFor().
     441 */
     442typedef struct HGCMMsgCmdSkip
     443{
     444    VBoxGuestHGCMCallInfo hdr;
     445
     446} HGCMMsgCmdSkip;
     447
     448/**
    431449 * Asks the guest control host service to cancel all pending (outstanding)
    432  * waits which were not processed yet.  This is handy for a graceful shutdown.
     450 * waits which were not processed yet. This is handy for a graceful shutdown.
    433451 */
    434452typedef struct HGCMMsgCancelPendingWaits
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette