RexxRegisterFunctionDll - Remarks

EntryPoint can be either a 16-bit or 32-bit routine. REXX calls the function in the correct addressing mode.

A REXX procedure can register dynamic link library subcommand handlers with the RXFUNCADD built-in function. For example:

                                 /* register function SysLoadFuncs*/
                                 /* in dynalink library REXXUTIL  */
  Call RxFuncAdd 'SysLoadFuncs', 'REXXUTIL', 'SysLoadFuncs'
  Call SysLoadFuncs              /* call to load other functions  */

RXFUNCADD registers the external function SysLoadFuncs as routine SysLoadFuncs in the REXXUTIL dynamic link library. SysLoadFuncs registers additional functions in REXXUTIL.DLL with RexxRegisterFunctionDll. See the SysLoadFuncs routine below for a function registration example.


[Back: RexxRegisterFunctionDll - Returns]
[Next: RexxRegisterFunctionDll - Example]