OUI_Register_Extension()
See also: Hook Point Interface (old)
Return to Introduction  Previous page  Next page

*** This is an old interface that is currently retained for backward compatibility and will eventually be phased out in a future release of the OpenUI. It is in your best interest to convert any existing code over to the new OpenObjects interface.

This function clears all registered hook point extensions for the specified module. It uses the format:

<MvFUNCTION NAME = "OUI_Register_Extension" PARAMETERS = "modcode,smod_id,extflags" STANDARDOUTPUTLEVEL = "">  

This function is called with the parameters:

·l.modcode   set to the Module_Code for this module  
·l.smod_id   set to the Sub-Module ID # that you wish to register hook-points for  
·l.extflags   set to the Extension ID # string that you wish to register  

The l.extflags parameter is a string consisting of minuses ('-') and stars ('*'), zeros ('0') and nines ('9'). The first character in the string refers to HookPoint #1, and the 10th character in the string refers to HookPoint #10. The different characters have the following meanings:

·minus ('-')   skip this HookPoint (do not register)  
·star ('*')   register this HookPoint normally  
·zero ('0')   register this HookPoint as an "early" HookPoint. For a specific HookPoint, all "early" registered modules will be called first, before the normal registered modules.  
·nine ('9')   register this HookPoint as a "late" HookPoint. For a specific HookPoint, all "late" registered modules will be called last, after the normal registered modules.  

The return value is either a 1 (success) or 0 (failure).



 


Send feedback on this documentation.
© 2004 - 2000 Darren Ehlers & OpenUI Developer Consortium