儲存庫 vbox 的更動 12297
圖例:
- 未更動
- 新增
- 刪除
-
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 -
trunk/src/VBox/Main/include/RemoteUSBBackend.h
r8155 r12297 80 80 int saveDeviceList (const void *pvList, uint32_t cbList); 81 81 82 int negotiateResponse (const VRDPUSBREQNEGOTIATERET *pret );82 int negotiateResponse (const VRDPUSBREQNEGOTIATERET *pret, uint32_t cbRet); 83 83 84 84 int reapURB (const void *pvBody, uint32_t cbBody); … … 130 130 131 131 Guid aGuids[VRDP_MAX_USB_DEVICES_PER_CLIENT]; 132 133 /* VRDP_USB_VERSION_2: the client version. */ 134 uint32_t mClientVersion; 132 135 }; 133 136
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器