SEDRIS Reference Manual
APPENDIX A - LEVEL 0 READ and WRITE API
Functions
SE SetGeneralCallback
extern void
SE_SetGeneralCallback
(
SE_Error_Handling_Function_Ptr user_defined_function (notes)
);

Definition

Registers a user-defined function as the general callback, to be called when any Level 0 API function is about to return any function code, unless that function has either a general function callback or a specific callback for that status code currently registered. A general function (general single function) callback has priority over this general (general for all functions) callback. See the SE_SetGeneralCallbackForOneFunction() function comments for more details about general function callbacks. A specific function/specific status code callback has priority over both general function callbacks and over general callbacks. See the SE_SetCallbackForOneFunctionOneStatusCode() function comments for more details.

The user-defined function for the General Callback must be defined to match SE_Error_Handling_Function_Signature.



Parameters Notes


user_defined_function

 a pointer to a user-defined callback
    function to be registered as the General Callback function.  If NULL,
    then this 'clears' the General Callback capability.


Prev: SE_SetFirstErrorMessage. Next: SE_SetGeneralCallbackForOneFunction. Up:Index.

Last updated: May 15, 2003 Copyright © 2003 SEDRIS™