ParsecClientSendVirtualUSB
ParsecStatusParsecClientSendVirtualUSB(Parsec *ps,uint8_tstream,uint8_tid,uint16_tvid,uint16_tpid,const void *vusbd,size_tsize)
Send virtual USB binary data to the host.
Parameters
Direction | Name | Description |
---|---|---|
in | ps | Parsec instance returned by ParsecInit . |
in | stream | The stream index. Must be less than NUM_VSTREAMS . |
in | id | Virtual device instance identifier. |
in | vid | The virtual USB vendor id. |
in | pid | The virtual USB vendor defined product id. |
in | vusbd | The bytes of the virtual usb data. |
in | size | The size of the virtual usb data. |
Returns
PARSEC_OK
if the message was sent successfully, otherwise a ParsecStatus
error value.