[vbox-dev] is this code correct in rdpusb.c?
Vitali Pelenjow
Vitali.Pelenjow at oracle.com
Mon Mar 21 08:51:57 GMT 2011
You are right, it should be 5.
However this does not affect the server.
Thanks,
Vitali.
Huihong Luo wrote:
> trying to implement RemoteUSB on Windows, and found the following code
> in rdpusb.c:
>
> static void
> rdpusb_send_reply (uint8_t code, uint8_t status, uint32_t devid)
> {
> STREAM s = rdpusb_init_packet(1, code);
> out_uint8(s, status);
> out_uint32_le(s, devid);
> s_mark_end(s);
> rdpusb_send(s);
> }
>
> the first line seems to be incorrect, should it be something like
> this: (i.e., 1 --> 5 for the length)
>
> STREAM s = rdpusb_init_packet(5, code);
>
> Tried very hard to play with remote usb using rdesktop-vrdp, it never
> worked for me. The Windows guest shows some error in Mass Storage
> Device. The usb was initially detected inside vm, but never worked.
> It's a flash drive.
>
>
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> http://vbox.innotek.de/mailman/listinfo/vbox-dev
>
More information about the vbox-dev
mailing list