The COR_STATUS structure contains status information about a subroutine or function called in the code. Its format is.

typedef struct cor_status {

   COR_I4      status;       /* success, failure, or warning */

   COR_I4      err_source;   /* what detected the error */

   COR_I4      err_code;     /* what is the error code */

   COR_I4      err_ref;      /* where did it occur */

   COR_BOOLEAN err_reported; /* has it been logged yet ? */

   TCHAR       err_msg[80];  /* any text message */

   TCHAR       _fill[3];     /* alignment data */


More information

Standard Data Types.