VirtualBox

Changeset 20973 in vbox for trunk


Ignore:
Timestamp:
Jun 26, 2009 1:48:40 PM (16 years ago)
Author:
vboxsync
Message:

Remote USB protocol version 3.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vrdpapi.h

    r20374 r20973  
    108108/* Version 2: look for VRDP_USB_VERSION_2 comments in the code. */
    109109#define VRDP_USB_VERSION_2 (2)
     110/* Version 3: look for VRDP_USB_VERSION_3 comments in the code. */
     111#define VRDP_USB_VERSION_3 (3)
    110112
    111113/* The default VRDP server version of Remote USB Protocol. */
    112 #define VRDP_USB_VERSION VRDP_USB_VERSION_2
     114#define VRDP_USB_VERSION VRDP_USB_VERSION_3
    113115
    114116
     
    342344#define VRDP_USB_REAP_FLAG_CONTINUED (0x0)
    343345#define VRDP_USB_REAP_FLAG_LAST      (0x1)
     346/* VRDP_USB_VERSION_3: Fragmented URBs. */
     347#define VRDP_USB_REAP_FLAG_FRAGMENT  (0x2)
    344348
    345349#define VRDP_USB_REAP_VALID_FLAGS    (VRDP_USB_REAP_FLAG_LAST)
     350/* VRDP_USB_VERSION_3: Fragmented URBs. */
     351#define VRDP_USB_REAP_VALID_FLAGS_3  (VRDP_USB_REAP_FLAG_LAST | VRDP_USB_REAP_FLAG_FRAGMENT)
    346352
    347353typedef struct _VRDPUSBREQREAPURBBODY
     
    450456
    451457    /* Remote USB Protocol version. */
    452     uint32_t version;
     458    /* VRDP_USB_VERSION_3: the 32 bit field is splitted to 16 bit version and 16 bit flags.
     459     * Version 1 and 2 servers therefore have 'flags' == 0.
     460     * Version 3+ servers can send some capabilities in this field, this way it is possible to add
     461     *  a new capability without increasing the protocol version.
     462     */
     463    uint16_t version;
     464    uint16_t flags;
    453465
    454466} VRDPUSBREQNEGOTIATEPARM;
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