Jump to content

UsbDropFuncs: Difference between revisions

From EDM2
Created page with "==Description== ==Syntax== <pre> </pre> ==Parameters== ==Return Code== ===Errors=== ==Remarks== ==Example Code== <pre> add UsbDropFuncs: rc = RxFuncAdd('UsbDropFunc..."
 
Ak120 (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
==Description==
Drops all functions prefixed with RxUsb at once.


==Syntax==
==Syntax==
<pre>
rc = UsbDropFuncs()
</pre>
 
==Parameters==
 
==Return Code==
 
===Errors===


==Remarks==
;Return Code:empty string


==Example Code==
==Example Code==
Line 20: Line 13:


/* invoke UsbDropFuncs */
/* invoke UsbDropFuncs */
rc = ('' != UsbDropFuncs())
rc = ('' <> UsbDropFuncs())
say '*UsbDropFuncs(),RC=0x'b2x(rc)
say '*UsbDropFuncs(),RC=0x'b2x(rc)


Line 29: Line 22:


==Related Functions==
==Related Functions==
* [[UsbLoadFuncs]]


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

Latest revision as of 00:23, 29 October 2017

Drops all functions prefixed with RxUsb at once.

Syntax

rc = UsbDropFuncs()
Return Code
empty string

Example Code

/* add UsbDropFuncs */
rc = RxFuncAdd('UsbDropFuncs','usbcalls','UsbdropFuncs')
say '+UsbDropFuncs(),RC=0x'd2x(rc)

/* invoke UsbDropFuncs */
rc = ('' <> UsbDropFuncs())
say '*UsbDropFuncs(),RC=0x'b2x(rc)

/* drop UsbDropFuncs */
rc = RxFuncDrop('UsbDropFuncs')
say '-UsbDropFuncs(),RC=0x'd2x(rc)

Related Functions