ErrorInfo

The ErrorInfo structure is a standalone element that DCAPI functions use to retrieve errors from the stack.

Syntax

typedef struct error_info
{
    short int type;
    int message_id;
    char message_string[COMMENT_SIZE+1];
    char function_name[51];
} ErrorInfo;

Parameters

type (out): The severity; either ERR (error) or WRN (warning).

message_id (out): the error message ID.

message_string (out): the error message.

function_name (out): the API function.

Used by Functions

All DCAPI functions