ultrix man page for dwtregisterdrmnames

Query: dwtregisterdrmnames

OS: ultrix

Section: 3dwt

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

DwtRegisterDRMNames(3Dwt)												 DwtRegisterDRMNames(3Dwt)

Name
       DwtRegisterDRMNames  -  Registers  the  values associated with the names referenced in UIL (for example, UIL callback function names or UIL
       identifier names).

Syntax
       #include <X11/DwtAppl.h>
       Cardinal DwtRegisterDRMNames(register_list, register_count)
	    DRMRegisterArglist register_list;
	    DRMCount register_count;

Arguments
       register_list
		 Specifies a list of name/value pairs for the names to be registered.	Each  name  is	a  case-sensitive,  NULL-terminated  ASCII
		 string.   Each  value	is  a 32-bit quantity, interpreted as a procedure address if the name is a callback function, and uninter-
		 preted otherwise.

       register_count
		 Specifies the number of entries in register_list.

Description
       The DwtRegisterDRMNames function registers a vector of names and associated values for access in DRM.  The values  can  be  callback  func-
       tions,  pointers  to  user-defined data, or any other values.  The information provided is used to resolve symbolic references occurring in
       UID files to their run-time values.  For callbacks, this information provides the procedure address required by the XUI Toolkit.  For names
       used as identifiers in UIL, this information provides any run-time mapping the application needs.

       The names in the list are case-sensitive.  The list can be either ordered or unordered.

       Callback functions registered through DwtRegisterDRMNames can be either regular or creation callbacks.  Regular callbacks have declarations
       determined by XUI Toolkit and user requirements.  Creation callbacks have the same format as any other callback:

       void CallBackProc(widget_id, tag, callback_data)
	    Widget *widget_id;
	    Opaque tag;
	    DwtAnyCallbackStruct *callback_data;

       widget_id Specifies the widget ID associated with the widget performing the callback (as in any callback function).

       tag	 Specifies the tag value (as in any callback function).

       callback_data
		 Specifies a widget-specific data structure.  This data structure has a minimum of two members: event and reason.  The reason mem-
		 ber is always set to DwtCRCreate.

       Note that the widget name and parent are available from the widget record accessible through widget_id.

Return Values
       This function returns one of these status return constants:

       DRMSuccess	 The   function   executed
			 successfully.
       DRMFailure	 Memory allocation failed.

															 DwtRegisterDRMNames(3Dwt)
Related Man Pages
mrmregisternamesinhierarchy(3) - redhat
mrmregisternames(3) - redhat
mrmregisternamesinhierarchy(3) - centos
mrmregisternames(3x) - osf1
mrmregisternamesinhierarchy(3x) - osf1
Similar Topics in the Unix Linux Community
PHP Write Man Pages to MySQL DB
Denial Of Service Attack Update