Suppresses the call to an external error handling routine and defines an alternative routine for error handling.
Enhanced X-Windows Library (libX11.a)
int (*XESetError(DisplayPtr, Extension, Procedure))() Display *DisplayPtr; int Extension; int (*Procedure)();
The XESetError extension function suppresses the call to an external error handling routine and defines an alternative routine for error handling. This extension function allows status to be returned on a call at the cost of the call being synchronous (though most such routines are query operations and are typically programmed to be synchronous).
When the Xlib library detects a protocol error in the _XReply extension function, it calls the procedure with the following:
int (*Procedure)(DisplayPtr, Error, Codes, ReturnCode); Display *DisplayPtr; xError *Error; XExtCodes *Codes; int *ReturnCode;
DisplayPtr | Specifies a display device. |
Extension | Specifies an extension number. |
Procedure | Specifies a routine to call when an error code is received. |
Using Extensions in AIXwindows in AIX Version 4.3 AIXwindows Programming Guide.
The _XReply extension function.
AIXwindows Overview for Programmers in AIX Version 4.3 AIXwindows Programming Guide.