Jump to content

UsbLoadFuncs: Difference between revisions

From EDM2
W.m.brul (talk | contribs)
add description, syntax and retrun code
W.m.brul (talk | contribs)
Line 32: Line 32:


==Related Functions==
==Related Functions==
* [[RxUsbQueryVersion]]


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

Revision as of 19:13, 12 February 2017

Description

Adds all functions prefixed with RxUsb at once.

Syntax

rc = UsbLoadFuncs()

Parameters

Return Code

empty string

Errors

Remarks

Example Code

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

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

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

Related Functions