Jump to content

RxUsbClose

From EDM2
Revision as of 04:25, 6 January 2017 by Martini (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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