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..."
 
W.m.brul (talk | contribs)
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:


==Return Code==
==Return Code==
 
<pre>
0x0000 - NO_ERROR
</pre>
===Errors===
===Errors===
 
<pre>
0x1B58 - USB_NOT_INIT
0xFF13 - ERROR_I24_INVALID_PARAMETER
</pre>
==Remarks==
==Remarks==


Line 32: Line 37:


==Related Functions==
==Related Functions==
* [[RxUsbOpen]]


[[Category:USBCalls]]
[[Category:USBCalls]]

Latest revision as of 19:16, 12 February 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

0x0000 - NO_ERROR

Errors

0x1B58 - USB_NOT_INIT
0xFF13 - ERROR_I24_INVALID_PARAMETER

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