VirtualBox

Changeset 33247 in vbox for trunk/include


Ignore:
Timestamp:
Oct 20, 2010 10:01:48 AM (14 years ago)
Author:
vboxsync
Message:

VBoxService/Guest Execution: Update.

Location:
trunk/include/VBox
Files:
2 edited

Legend:

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

    r33064 r33247  
    6868};
    6969
     70/**
     71 * Input flags, set by the host.
     72 * Note: Has to match Main's ProcessInputFlag_* flags!
     73 */
     74#define INPUT_FLAG_NONE             0
     75#define INPUT_FLAG_EOF              RT_BIT(0)
     76
     77/**
     78 * Input status, reported by the client.
     79 */
     80enum eInputStatus
     81{
     82    /** Input is in an undefined state. */
     83    INPUT_STS_UNDEFINED = 0,
     84    /** Input was written (partially, see cbProcessed). */
     85    INPUT_STS_WRITTEN = 1,
     86    /** Input failed with an error (see flags for rc). */
     87    INPUT_STS_ERROR = 20,
     88    /** Process has abandoned / terminated input handling. */
     89    INPUT_STS_TERMINATED = 21,
     90    /** Too much input data. */
     91    INPUT_STS_OVERFLOW = 30
     92};
     93
    7094typedef struct _VBoxGuestCtrlCallbackHeader
    7195{
     
    118142    /** The process ID (PID). */
    119143    uint32_t u32PID;
    120     /** Optional flags (not used atm). */
     144    /** Current input status. */
     145    uint32_t u32Status;
     146    /** Optional flags. */
    121147    uint32_t u32Flags;
    122148    /** Size (in bytes) of processed input data. */
     
    269295    /** The process ID (PID). */
    270296    HGCMFunctionParameter pid;
    271     /** Optional flags. */
     297    /** Flags (see IGuest::ProcessInputFlag_*). */
    272298    HGCMFunctionParameter flags;
    273299    /** Data buffer. */
     
    317343    /** The process ID (PID). */
    318344    HGCMFunctionParameter pid;
     345    /** Status of the operation. */
     346    HGCMFunctionParameter status;
    319347    /** Optional flags. */
    320348    HGCMFunctionParameter flags;
  • trunk/include/VBox/VBoxGuestLib.h

    r33064 r33247  
    581581                                                      uint32_t     u32Context,
    582582                                                      uint32_t     u32PID,
     583                                                      uint32_t     u32Status,
    583584                                                      uint32_t     u32Flags,
    584585                                                      uint32_t     cbWritten);
Note: See TracChangeset for help on using the changeset viewer.

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