Jump to content

UsbDropFuncs: Difference between revisions

From EDM2
W.m.brul (talk | contribs)
add description, syntax and return code
Ak120 (talk | contribs)
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
==Description==
Drops all functions prefixed with RxUsb at once.
Drops all functions prefixed with RxUsb at once.


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


==Remarks==
;Return Code:empty string


==Example Code==
==Example Code==
Line 32: 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