UsbLoadFuncs: Difference between revisions
Appearance
Created page with "==Description== ==Syntax== <pre> </pre> ==Parameters== ==Return Code== ===Errors=== ==Remarks== ==Example Code== <pre> →add UsbLoadFuncs: rc = RxFuncAdd('UsbLoadFunc..." |
mNo edit summary |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
Adds all functions prefixed with RxUsb at once. | |||
==Syntax== | ==Syntax== | ||
rc = UsbLoadFuncs() | |||
;Parameters:none | |||
;Return Code:empty string | |||
==Example Code== | ==Example Code== | ||
| Line 20: | Line 14: | ||
/* invoke UsbLoadFuncs */ | /* invoke UsbLoadFuncs */ | ||
rc = ('' | rc = ('' <> UsbLoadFuncs()) | ||
say '*UsbLoadFuncs(),RC=0x'b2x(rc) | say '*UsbLoadFuncs(),RC=0x'b2x(rc) | ||
| Line 29: | Line 23: | ||
==Related Functions== | ==Related Functions== | ||
* [[RxUsbQueryVersion]] | |||
[[Category:USBCalls]] | [[Category:USBCalls]] | ||
Latest revision as of 23:09, 28 October 2017
Adds all functions prefixed with RxUsb at once.
Syntax
rc = UsbLoadFuncs()
- Parameters
- none
- Return Code
- empty string
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)