RxUsbQueryDeviceReport
Appearance
Description
Obtains the Compound Descriptor of a specific USB device.
Syntax
rc = RxUsbQueryDeviceReport(Handle,Report)
Parameters
- Handle
- the Device Handle received from the previous RxUsbOpen.
- Report
- receives the Compound Descriptor as hexadecimal string. The Compound Descriptor is the concatenation of Device Descriptor and Configuration Descriptor.
Return Code
Errors
Remarks
Example Code
/* add RxUsbQueryDeviceReport */ rc = RxFuncAdd('RxUsbQueryDeviceReport','usbcalls','RxUsbQueryDeviceReport') say '+RxUsbQueryDeviceReport(),RC=0x'd2x(rc) /* invoke RxUsbQueryDeviceReport */ drop Report /* receives device report */ rc = RxUsbQueryDeviceReport(Handle,Report) say '*RxUsbQueryDeviceReport(),RC=0x'd2x(rc) /* drop RxUsbQueryDeviceReport */ rc = RxFuncDrop('RxUsbQueryDeviceReport') say '-RxUsbQueryDeviceReport(),RC=0x'd2x(rc)