NAME
XtAppGetErrorDatabase, XtAppGetErrorDatabaseText - obtain error database
SYNTAX
XrmDatabase *XtAppGetErrorDatabase(XtAppContext _a_p_p___c_o_n_t_e_x_t);
void XtAppGetErrorDatabaseText(XtAppContext _a_p_p___c_o_n_t_e_x_t, char
*_n_a_m_e, char *_t_y_p_e, char *_c_l_a_s_s, char *_d_e_f_a_u_l_t, char
*_b_u_f_f_e_r___r_e_t_u_r_n, int _n_b_y_t_e_s, XrmDatabase _d_a_t_a_b_a_s_e);
ARGUMENTS
-
_a_p_p___c_o_n_t_e_x_t
Specifies the application context.
-
-
_b_u_f_f_e_r___r_e_t_u_r_n
Specifies the buffer into which the error message is to be returned.
-
-
_c_l_a_s_s
Specifies the resource class of the error message.
-
-
_d_a_t_a_b_a_s_e
Specifies the name of the alternative database that is to be used
-
or NULL if the application's database is to be used.
-
_d_e_f_a_u_l_t
Specifies the default message to use.
-
-
_n_a_m_e
-
-
_t_y_p_e
Specifies the name and type that are concatenated to form the resource name
-
of the error message.
-
_n_b_y_t_e_s
Specifies the size of the buffer in bytes.
-
DESCRIPTION
The
_X_t_A_p_p_G_e_t_E_r_r_o_r_D_a_t_a_b_a_s_e
function returns the address of the error database.
The Intrinsics do a lazy binding of the error database and do not merge in the
database file until the first call to
_X_t_A_p_p_G_e_t_E_r_r_o_r_D_a_t_b_a_s_e_T_e_x_t.
The
_X_t_A_p_p_G_e_t_E_r_r_o_r_D_a_t_a_b_a_s_e_T_e_x_t
returns the appropriate message from the error database
or returns the specified default message if one is not found in the
error database.
SEE ALSO
XtAppError(3Xt),
XtAppErrorMsg(3Xt)
_X _T_o_o_l_k_i_t _I_n_t_r_i_n_s_i_c_s _- _C _L_a_n_g_u_a_g_e _I_n_t_e_r_f_a_c_e
_X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e