INFORMIX
DataBlade API Programmer's Manual
Chapter 12: DataBlade API Function Descriptions
Home Contents Index Master Index New Book

mi_default_callback()

The mi_default_callback() function is the default callback for all callbacks in a client application.

Syntax

Usage

The mi_default_callback() function returns appropriate error and warning messages to stderr (or in a message box under Windows NT) in response to callback events. This default is overridden when the application calls mi_register_callback() to register its own callback for a particular event type or for all event types.

Important: When a client application connects to a database server, the mi_default_callback() function does not report some warnings. The SQLSTATE values for these warnings begin with 01I.

A client application can use mi_default_callback() for its own use. For example, an application can call a special handler for a specific function and then re-register mi_default_callback() after the function returns.

Return Values

None.

Related Topics

For additional information, see the description of the mi_register_callback() function.




DataBlade API Programmer's Manual, version 9.1
Copyright © 1998, Informix Software, Inc. All rights reserved.