Changeset 12297 in vbox for trunk/include/VBox
- Timestamp:
- Sep 9, 2008 1:59:00 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vrdpapi.h
r11372 r12297 104 104 */ 105 105 106 /* The version of Remote USB Protocol. */ 107 #define VRDP_USB_VERSION (1) 106 /* The initial version 1. */ 107 #define VRDP_USB_VERSION_1 (1) 108 /* Version 2: look for VRDP_USB_VERSION_2 comments in the code. */ 109 #define VRDP_USB_VERSION_2 (2) 110 111 /* The default VRDP server version of Remote USB Protocol. */ 112 #define VRDP_USB_VERSION VRDP_USB_VERSION_2 113 108 114 109 115 /** USB backend operations. */ … … 323 329 #define VRDP_USB_XFER_DNR (2) 324 330 #define VRDP_USB_XFER_CRC (3) 331 /* VRDP_USB_VERSION_2: New error codes. */ 332 #define VRDP_USB_XFER_BS (4) 333 #define VRDP_USB_XFER_DTM (5) 334 #define VRDP_USB_XFER_PCF (6) 335 #define VRDP_USB_XFER_UPID (7) 336 #define VRDP_USB_XFER_DO (8) 337 #define VRDP_USB_XFER_DU (9) 338 #define VRDP_USB_XFER_BO (10) 339 #define VRDP_USB_XFER_BU (11) 340 #define VRDP_USB_XFER_ERR (12) /* VBox protocol error. */ 325 341 326 342 #define VRDP_USB_REAP_FLAG_CONTINUED (0x0) … … 440 456 #define VRDP_USB_CAPS_FLAG_ASYNC (0x0) 441 457 #define VRDP_USB_CAPS_FLAG_POLL (0x1) 458 /* VRDP_USB_VERSION_2: New flag. */ 459 #define VRDP_USB_CAPS2_FLAG_VERSION (0x2) /* The client is negotiating the protocol version. */ 460 442 461 443 462 #define VRDP_USB_CAPS_VALID_FLAGS (VRDP_USB_CAPS_FLAG_POLL) 463 /* VRDP_USB_VERSION_2: A set of valid flags. */ 464 #define VRDP_USB_CAPS2_VALID_FLAGS (VRDP_USB_CAPS_FLAG_POLL | VRDP_USB_CAPS2_FLAG_VERSION) 444 465 445 466 typedef struct _VRDPUSBREQNEGOTIATERET … … 447 468 uint8_t flags; 448 469 } VRDPUSBREQNEGOTIATERET; 470 471 typedef struct _VRDPUSBREQNEGOTIATERET_2 472 { 473 uint8_t flags; 474 uint32_t u32Version; /* This field presents only if the VRDP_USB_CAPS2_FLAG_VERSION flag is set. */ 475 } VRDPUSBREQNEGOTIATERET_2; 449 476 #pragma pack() 450 477
Note:
See TracChangeset
for help on using the changeset viewer.