Jump to content

RxUsbClose: Difference between revisions

From EDM2
Created page with "==Description== Releases access to a specific USB device. ==Syntax== <pre> rc = RxUsbClose(Handle) </pre> ==Parameters== ; Handle : the Device Handle received from the prev..."
(No difference)

Revision as of 04:25, 6 January 2017

Description

Releases access to a specific USB device.

Syntax

rc = RxUsbClose(Handle)

Parameters

Handle
the Device Handle received from the previous RxUsbOpen.

Return Code

Errors

Remarks

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