RxUsbClose

Description
Releases access to a specific USB device.

Syntax
rc = RxUsbClose(Handle)

Parameters

 * Handle : the Device Handle received from the previous RxUsbOpen.

Return Code
0x0000 - NO_ERROR

Errors
0x1B58 - USB_NOT_INIT 0xFF13 - ERROR_I24_INVALID_PARAMETER

Example Code
/* add RxUsbClose */ rc = RxFuncAdd('RxUsbClose','usbcalls','RxUsbClose') say '+RxUsbClose,RC=0x'd2x(rc)

/* invoke RxUsbClose */ rc = RxUsbClose(Handle) say '*RxUsbClose,RC=0x'd2x(rc)

/* drop RxUsbClose */ rc = RxFuncDrop('RxUsbClose') say '-RxUsbClose,RC=0

Related Functions

 * RxUsbOpen