VirtualBox

Changeset 68550 in vbox for trunk/include/VBox/HostServices


Ignore:
Timestamp:
Aug 31, 2017 12:09:41 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
117767
Message:

merging vbglioc r117689: Initial VBoxGuest I/O control changes.

Location:
trunk/include/VBox/HostServices
Files:
7 edited

Legend:

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

    r59829 r68550  
    6161#include <VBox/hgcmsvc.h>
    6262#include <VBox/VMMDev.h>
    63 #include <VBox/VBoxGuest2.h>
     63#include <VBox/VBoxGuest.h>
    6464
    6565/*
     
    287287typedef struct VBOXDNDHGACTIONMSG
    288288{
    289     VBoxGuestHGCMCallInfo hdr;
     289    VBGLIOCHGCMCALL hdr;
    290290
    291291    union
     
    324324typedef struct VBOXDNDHGLEAVEMSG
    325325{
    326     VBoxGuestHGCMCallInfo hdr;
     326    VBGLIOCHGCMCALL hdr;
    327327    union
    328328    {
     
    343343typedef struct VBOXDNDHGCANCELMSG
    344344{
    345     VBoxGuestHGCMCallInfo hdr;
     345    VBGLIOCHGCMCALL hdr;
    346346    union
    347347    {
     
    365365typedef struct VBOXDNDHGSENDDATAHDRMSG
    366366{
    367     VBoxGuestHGCMCallInfo hdr;
     367    VBGLIOCHGCMCALL hdr;
    368368
    369369    /** Context ID. Unused at the moment. */
     
    406406typedef struct VBOXDNDHGSENDDATAMSG
    407407{
    408     VBoxGuestHGCMCallInfo hdr;
     408    VBGLIOCHGCMCALL hdr;
    409409
    410410    union
     
    447447typedef struct VBOXDNDHGSENDMOREDATAMSG
    448448{
    449     VBoxGuestHGCMCallInfo hdr;
     449    VBGLIOCHGCMCALL hdr;
    450450
    451451    HGCMFunctionParameter pvData;       /* OUT ptr */
     
    462462typedef struct VBOXDNDHGSENDDIRMSG
    463463{
    464     VBoxGuestHGCMCallInfo hdr;
     464    VBGLIOCHGCMCALL hdr;
    465465
    466466    union
     
    499499typedef struct VBOXDNDHGSENDFILEHDRMSG
    500500{
    501     VBoxGuestHGCMCallInfo hdr;
     501    VBGLIOCHGCMCALL hdr;
    502502
    503503    /** Context ID. Unused at the moment. */
     
    523523typedef struct VBOXDNDHGSENDFILEDATAMSG
    524524{
    525     VBoxGuestHGCMCallInfo hdr;
     525    VBGLIOCHGCMCALL hdr;
    526526
    527527    union
     
    579579typedef struct VBOXDNDGHREQPENDINGMSG
    580580{
    581     VBoxGuestHGCMCallInfo hdr;
     581    VBGLIOCHGCMCALL hdr;
    582582
    583583    union
     
    607607typedef struct VBOXDNDGHDROPPEDMSG
    608608{
    609     VBoxGuestHGCMCallInfo hdr;
     609    VBGLIOCHGCMCALL hdr;
    610610
    611611    union
     
    648648typedef struct VBOXDNDNEXTMSGMSG
    649649{
    650     VBoxGuestHGCMCallInfo hdr;
     650    VBGLIOCHGCMCALL hdr;
    651651
    652652    /** Message ID. */
     
    668668typedef struct VBOXDNDCONNECTMSG
    669669{
    670     VBoxGuestHGCMCallInfo hdr;
     670    VBGLIOCHGCMCALL hdr;
    671671
    672672    union
     
    700700typedef struct VBOXDNDHGACKOPMSG
    701701{
    702     VBoxGuestHGCMCallInfo hdr;
     702    VBGLIOCHGCMCALL hdr;
    703703
    704704    union
     
    725725typedef struct VBOXDNDHGREQDATAMSG
    726726{
    727     VBoxGuestHGCMCallInfo hdr;
     727    VBGLIOCHGCMCALL hdr;
    728728
    729729    union
     
    745745typedef struct VBOXDNDHGEVTPROGRESSMSG
    746746{
    747     VBoxGuestHGCMCallInfo hdr;
     747    VBGLIOCHGCMCALL hdr;
    748748
    749749    union
     
    775775typedef struct VBOXDNDGHACKPENDINGMSG
    776776{
    777     VBoxGuestHGCMCallInfo hdr;
     777    VBGLIOCHGCMCALL hdr;
    778778
    779779    union
     
    816816typedef struct VBOXDNDGHSENDDATAMSG
    817817{
    818     VBoxGuestHGCMCallInfo hdr;
     818    VBGLIOCHGCMCALL hdr;
    819819
    820820    union
     
    878878typedef struct VBOXDNDGHEVTERRORMSG
    879879{
    880     VBoxGuestHGCMCallInfo hdr;
     880    VBGLIOCHGCMCALL hdr;
    881881
    882882    union
  • trunk/include/VBox/HostServices/GuestControlSvc.h

    r60622 r68550  
    3030#include <VBox/types.h>
    3131#include <VBox/VMMDev.h>
    32 #include <VBox/VBoxGuest2.h>
     32#include <VBox/VBoxGuest.h>
    3333#include <VBox/hgcmsvc.h>
    3434#include <VBox/log.h>
     
    208208     * Guest waits for a new message the host wants to process on the guest side.
    209209     * This is a blocking call and can be deferred.
     210     *
     211     * @note This command is rather odd.  The above description isn't really
     212     *       correct.  Yes, it (1) waits for a new message and will return the
     213     *       mesage number and parameter count when one is available.   However, it
     214     *       is also (2) used to retrieve the message parameters.   For some weird
     215     *       reasons it was decided that it should always return VERR_TOO_MUCH_DATA
     216     *       when used in the first capacity.
     217     *
     218     * @todo r=bird: Next time this interface gets a major adjustment, please split
     219     *       this function up into two calls and, for heavens sake, make them return
     220     *       VINF_SUCCESS on success.
    210221     */
    211222    GUEST_MSG_WAIT = 1,
     
    369380typedef struct HGCMMsgCmdWaitFor
    370381{
    371     VBoxGuestHGCMCallInfo hdr;
     382    VBGLIOCHGCMCALL hdr;
    372383    /**
    373384     * The returned command the host wants to
     
    387398typedef struct HGCMMsgCmdFilterSet
    388399{
    389     VBoxGuestHGCMCallInfo hdr;
     400    VBGLIOCHGCMCALL hdr;
    390401    /** Value to filter for after filter mask
    391402     *  was applied. */
     
    405416typedef struct HGCMMsgCmdFilterUnset
    406417{
    407     VBoxGuestHGCMCallInfo hdr;
     418    VBGLIOCHGCMCALL hdr;
    408419    /** Unset flags; currently unused. */
    409420    HGCMFunctionParameter flags;    /* IN uint32_t */
     
    417428typedef struct HGCMMsgCmdSkip
    418429{
    419     VBoxGuestHGCMCallInfo hdr;
     430    VBGLIOCHGCMCALL hdr;
    420431    /** Skip flags; currently unused. */
    421432    HGCMFunctionParameter flags;    /* IN uint32_t */
     
    428439typedef struct HGCMMsgCancelPendingWaits
    429440{
    430     VBoxGuestHGCMCallInfo hdr;
     441    VBGLIOCHGCMCALL hdr;
    431442} HGCMMsgCancelPendingWaits;
    432443
    433444typedef struct HGCMMsgCmdReply
    434445{
    435     VBoxGuestHGCMCallInfo hdr;
     446    VBGLIOCHGCMCALL hdr;
    436447    /** Context ID. */
    437448    HGCMFunctionParameter context;
     
    449460typedef struct HGCMMsgSessionOpen
    450461{
    451     VBoxGuestHGCMCallInfo hdr;
     462    VBGLIOCHGCMCALL hdr;
    452463    /** Context ID. */
    453464    HGCMFunctionParameter context;
     
    470481typedef struct HGCMMsgSessionClose
    471482{
    472     VBoxGuestHGCMCallInfo hdr;
     483    VBGLIOCHGCMCALL hdr;
    473484    /** Context ID. */
    474485    HGCMFunctionParameter context;
     
    482493typedef struct HGCMMsgSessionNotify
    483494{
    484     VBoxGuestHGCMCallInfo hdr;
     495    VBGLIOCHGCMCALL hdr;
    485496    /** Context ID. */
    486497    HGCMFunctionParameter context;
     
    493504typedef struct HGCMMsgPathRename
    494505{
    495     VBoxGuestHGCMCallInfo hdr;
     506    VBGLIOCHGCMCALL hdr;
    496507    /** UInt32: Context ID. */
    497508    HGCMFunctionParameter context;
     
    509520typedef struct HGCMMsgProcExec
    510521{
    511     VBoxGuestHGCMCallInfo hdr;
     522    VBGLIOCHGCMCALL hdr;
    512523    /** Context ID. */
    513524    HGCMFunctionParameter context;
     
    564575typedef struct HGCMMsgProcInput
    565576{
    566     VBoxGuestHGCMCallInfo hdr;
     577    VBGLIOCHGCMCALL hdr;
    567578    /** Context ID. */
    568579    HGCMFunctionParameter context;
     
    583594typedef struct HGCMMsgProcOutput
    584595{
    585     VBoxGuestHGCMCallInfo hdr;
     596    VBGLIOCHGCMCALL hdr;
    586597    /** Context ID. */
    587598    HGCMFunctionParameter context;
     
    601612typedef struct HGCMMsgProcStatus
    602613{
    603     VBoxGuestHGCMCallInfo hdr;
     614    VBGLIOCHGCMCALL hdr;
    604615    /** Context ID. */
    605616    HGCMFunctionParameter context;
     
    619630typedef struct HGCMMsgProcStatusInput
    620631{
    621     VBoxGuestHGCMCallInfo hdr;
     632    VBGLIOCHGCMCALL hdr;
    622633    /** Context ID. */
    623634    HGCMFunctionParameter context;
     
    641652typedef struct HGCMMsgProcTerminate
    642653{
    643     VBoxGuestHGCMCallInfo hdr;
     654    VBGLIOCHGCMCALL hdr;
    644655    /** Context ID. */
    645656    HGCMFunctionParameter context;
     
    653664typedef struct HGCMMsgProcWaitFor
    654665{
    655     VBoxGuestHGCMCallInfo hdr;
     666    VBGLIOCHGCMCALL hdr;
    656667    /** Context ID. */
    657668    HGCMFunctionParameter context;
     
    666677typedef struct HGCMMsgDirRemove
    667678{
    668     VBoxGuestHGCMCallInfo hdr;
     679    VBGLIOCHGCMCALL hdr;
    669680    /** UInt32: Context ID. */
    670681    HGCMFunctionParameter context;
     
    680691typedef struct HGCMMsgFileOpen
    681692{
    682     VBoxGuestHGCMCallInfo hdr;
     693    VBGLIOCHGCMCALL hdr;
    683694    /** UInt32: Context ID. */
    684695    HGCMFunctionParameter context;
     
    702713typedef struct HGCMMsgFileClose
    703714{
    704     VBoxGuestHGCMCallInfo hdr;
     715    VBGLIOCHGCMCALL hdr;
    705716    /** Context ID. */
    706717    HGCMFunctionParameter context;
     
    714725typedef struct HGCMMsgFileRead
    715726{
    716     VBoxGuestHGCMCallInfo hdr;
     727    VBGLIOCHGCMCALL hdr;
    717728    /** Context ID. */
    718729    HGCMFunctionParameter context;
     
    728739typedef struct HGCMMsgFileReadAt
    729740{
    730     VBoxGuestHGCMCallInfo hdr;
     741    VBGLIOCHGCMCALL hdr;
    731742    /** Context ID. */
    732743    HGCMFunctionParameter context;
     
    744755typedef struct HGCMMsgFileWrite
    745756{
    746     VBoxGuestHGCMCallInfo hdr;
     757    VBGLIOCHGCMCALL hdr;
    747758    /** Context ID. */
    748759    HGCMFunctionParameter context;
     
    760771typedef struct HGCMMsgFileWriteAt
    761772{
    762     VBoxGuestHGCMCallInfo hdr;
     773    VBGLIOCHGCMCALL hdr;
    763774    /** Context ID. */
    764775    HGCMFunctionParameter context;
     
    778789typedef struct HGCMMsgFileSeek
    779790{
    780     VBoxGuestHGCMCallInfo hdr;
     791    VBGLIOCHGCMCALL hdr;
    781792    /** Context ID. */
    782793    HGCMFunctionParameter context;
     
    794805typedef struct HGCMMsgFileTell
    795806{
    796     VBoxGuestHGCMCallInfo hdr;
     807    VBGLIOCHGCMCALL hdr;
    797808    /** Context ID. */
    798809    HGCMFunctionParameter context;
     
    808819typedef struct HGCMReplyFileNotify
    809820{
    810     VBoxGuestHGCMCallInfo hdr;
     821    VBGLIOCHGCMCALL hdr;
    811822    /** Context ID. */
    812823    HGCMFunctionParameter context;
     
    846857typedef struct HGCMReplyDirNotify
    847858{
    848     VBoxGuestHGCMCallInfo hdr;
     859    VBGLIOCHGCMCALL hdr;
    849860    /** Context ID. */
    850861    HGCMFunctionParameter context;
  • trunk/include/VBox/HostServices/GuestPropertySvc.h

    r62476 r68550  
    3030#include <VBox/types.h>
    3131#include <VBox/VMMDev.h>
    32 #include <VBox/VBoxGuest2.h>
     32#include <VBox/VBoxGuest.h>
    3333#include <VBox/hgcmsvc.h>
    3434#include <VBox/log.h>
     
    319319typedef struct _GetProperty
    320320{
    321     VBoxGuestHGCMCallInfo hdr;
     321    VBGLIOCHGCMCALL hdr;
    322322
    323323    /**
     
    354354typedef struct _SetProperty
    355355{
    356     VBoxGuestHGCMCallInfo hdr;
     356    VBGLIOCHGCMCALL hdr;
    357357
    358358    /**
     
    384384typedef struct _SetPropertyValue
    385385{
    386     VBoxGuestHGCMCallInfo hdr;
     386    VBGLIOCHGCMCALL hdr;
    387387
    388388    /**
     
    406406typedef struct _DelProperty
    407407{
    408     VBoxGuestHGCMCallInfo hdr;
     408    VBGLIOCHGCMCALL hdr;
    409409
    410410    /**
     
    420420typedef struct _EnumProperties
    421421{
    422     VBoxGuestHGCMCallInfo hdr;
     422    VBGLIOCHGCMCALL hdr;
    423423
    424424    /**
     
    470470typedef struct _GetNotification
    471471{
    472     VBoxGuestHGCMCallInfoTimed hdr;
     472    VBGLIOCHGCMCALL hdr;
    473473
    474474    /**
  • trunk/include/VBox/HostServices/VBoxClipboardSvc.h

    r62476 r68550  
    2929#include <VBox/types.h>
    3030#include <VBox/VMMDev.h>
    31 #include <VBox/VBoxGuest2.h>
     31#include <VBox/VBoxGuest.h>
    3232#include <VBox/hgcmsvc.h>
    3333
     
    7979typedef struct _VBoxClipboardGetHostMsg
    8080{
    81     VBoxGuestHGCMCallInfo hdr;
     81    VBGLIOCHGCMCALL hdr;
    8282
    8383    /* VBOX_SHARED_CLIPBOARD_HOST_MSG_* */
     
    9292typedef struct _VBoxClipboardFormats
    9393{
    94     VBoxGuestHGCMCallInfo hdr;
     94    VBGLIOCHGCMCALL hdr;
    9595
    9696    /* VBOX_SHARED_CLIPBOARD_FMT_* */
     
    102102typedef struct _VBoxClipboardReadData
    103103{
    104     VBoxGuestHGCMCallInfo hdr;
     104    VBGLIOCHGCMCALL hdr;
    105105
    106106    /* Requested format. */
     
    121121typedef struct _VBoxClipboardWriteData
    122122{
    123     VBoxGuestHGCMCallInfo hdr;
     123    VBGLIOCHGCMCALL hdr;
    124124
    125125    /* Returned format as requested in the VBOX_SHARED_CLIPBOARD_HOST_MSG_READ_DATA message. */
  • trunk/include/VBox/HostServices/VBoxCrOpenGLSvc.h

    r65381 r68550  
    3030#include <VBox/types.h>
    3131#include <VBox/VMMDev.h>
    32 #include <VBox/VBoxGuest2.h>
     32#include <VBox/VBoxGuest.h>
    3333#include <VBox/hgcmsvc.h>
    3434#include <VBoxVideo.h>
     
    223223typedef struct
    224224{
    225     VBoxGuestHGCMCallInfo   hdr;
     225    VBGLIOCHGCMCALL   hdr;
    226226
    227227    /** pointer, in
     
    234234typedef struct
    235235{
    236     VBoxGuestHGCMCallInfo   hdr;
     236    VBGLIOCHGCMCALL   hdr;
    237237
    238238    /** pointer, in/out
     
    251251typedef struct
    252252{
    253     VBoxGuestHGCMCallInfo   hdr;
     253    VBGLIOCHGCMCALL   hdr;
    254254
    255255    /** pointer, in
     
    273273typedef struct
    274274{
    275     VBoxGuestHGCMCallInfo   hdr;
     275    VBGLIOCHGCMCALL   hdr;
    276276
    277277    /** 32bit, in
     
    290290typedef struct
    291291{
    292     VBoxGuestHGCMCallInfo   hdr;
     292    VBGLIOCHGCMCALL   hdr;
    293293
    294294    /** 32bit, out
     
    301301typedef struct
    302302{
    303     VBoxGuestHGCMCallInfo   hdr;
     303    VBGLIOCHGCMCALL   hdr;
    304304
    305305    /** 32bit, in
     
    316316typedef struct
    317317{
    318     VBoxGuestHGCMCallInfo   hdr;
     318    VBGLIOCHGCMCALL   hdr;
    319319
    320320    /** 64bit, in
     
    327327typedef struct
    328328{
    329     VBoxGuestHGCMCallInfo   hdr;
     329    VBGLIOCHGCMCALL   hdr;
    330330
    331331    /** 32bit, in/out
     
    354354typedef struct
    355355{
    356     VBoxGuestHGCMCallInfo   hdr;
     356    VBGLIOCHGCMCALL   hdr;
    357357
    358358    /** 32bit, in
  • trunk/include/VBox/HostServices/VBoxHostChannel.h

    r62476 r68550  
    2929
    3030#include <VBox/VMMDev.h>
    31 #include <VBox/VBoxGuest2.h>
     31#include <VBox/VBoxGuest.h>
    3232#include <VBox/hgcmsvc.h>
    3333
     
    7878typedef struct VBoxHostChannelAttach
    7979{
    80     VBoxGuestHGCMCallInfo hdr;
     80    VBGLIOCHGCMCALL hdr;
    8181    HGCMFunctionParameter name;   /* IN linear ptr: Channel name utf8 nul terminated. */
    8282    HGCMFunctionParameter flags;  /* IN uint32_t: Channel specific flags. */
     
    8686typedef struct VBoxHostChannelDetach
    8787{
    88     VBoxGuestHGCMCallInfo hdr;
     88    VBGLIOCHGCMCALL hdr;
    8989    HGCMFunctionParameter handle; /* IN uint32_t: The channel handle. */
    9090} VBoxHostChannelDetach;
     
    9292typedef struct VBoxHostChannelSend
    9393{
    94     VBoxGuestHGCMCallInfo hdr;
     94    VBGLIOCHGCMCALL hdr;
    9595    HGCMFunctionParameter handle; /* IN uint32_t: The channel handle. */
    9696    HGCMFunctionParameter data;   /* IN linear pointer: Data to be sent. */
     
    9999typedef struct VBoxHostChannelRecv
    100100{
    101     VBoxGuestHGCMCallInfo hdr;
     101    VBGLIOCHGCMCALL hdr;
    102102    HGCMFunctionParameter handle;        /* IN uint32_t: The channel handle. */
    103103    HGCMFunctionParameter data;          /* OUT linear pointer: Buffer for data to be received. */
     
    108108typedef struct VBoxHostChannelControl
    109109{
    110     VBoxGuestHGCMCallInfo hdr;
     110    VBGLIOCHGCMCALL hdr;
    111111    HGCMFunctionParameter handle; /* IN uint32_t: The channel handle. */
    112112    HGCMFunctionParameter code;   /* IN uint32_t: The channel specific control code. */
     
    118118typedef struct VBoxHostChannelEventWait
    119119{
    120     VBoxGuestHGCMCallInfo hdr;
     120    VBGLIOCHGCMCALL hdr;
    121121    HGCMFunctionParameter handle;       /* OUT uint32_t: The channel which generated the event. */
    122122    HGCMFunctionParameter id;           /* OUT uint32_t: The event VBOX_HOST_CHANNEL_EVENT_*. */
     
    127127typedef struct VBoxHostChannelEventCancel
    128128{
    129     VBoxGuestHGCMCallInfo hdr;
     129    VBGLIOCHGCMCALL hdr;
    130130} VBoxHostChannelEventCancel;
    131131
    132132typedef struct VBoxHostChannelQuery
    133133{
    134     VBoxGuestHGCMCallInfo hdr;
     134    VBGLIOCHGCMCALL hdr;
    135135    HGCMFunctionParameter name;   /* IN linear ptr: Channel name utf8 nul terminated. */
    136136    HGCMFunctionParameter code;   /* IN uint32_t: The control code. */
  • trunk/include/VBox/HostServices/VBoxOpenGLSvc.h

    r62476 r68550  
    8585typedef struct
    8686{
    87     VBoxGuestHGCMCallInfo   hdr;
     87    VBGLIOCHGCMCALL   hdr;
    8888
    8989    /** 32bit, in: name
     
    110110typedef struct
    111111{
    112     VBoxGuestHGCMCallInfo   hdr;
     112    VBGLIOCHGCMCALL   hdr;
    113113
    114114    /** pointer, in
     
    144144typedef struct
    145145{
    146     VBoxGuestHGCMCallInfo   hdr;
     146    VBGLIOCHGCMCALL   hdr;
    147147
    148148    /** pointer, in
     
    184184typedef struct
    185185{
    186     VBoxGuestHGCMCallInfo   hdr;
     186    VBGLIOCHGCMCALL   hdr;
    187187
    188188    /** pointer, in
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