msos2.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
ERRINFO (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINERRORS
 
typedef struct _ERRINFO {    /* erri */
    USHORT    cbFixedErrInfo;
    ERRORID   idError;
    USHORT    cDetailLevel;
    USHORT    offaoffszMsg;
    USHORT    offBinaryData;
} ERRINFO;
 
The ERRINFO structure contains the previous error for the current thread.
 
Field           Description
────────────────────────────────────────────────────────────────────────────
 
cbFixedErrInfo  Specifies the length of the structure.
 
idError         Identifies the error. This field is identical to the value
                returned by the WinGetLastError function.
 
cDetailLevel    Specifies the number of levels of detail.
 
offaoffszMsg    Specifies an offset to an array of offsets to messages.
 
offBinaryData   Specifies an offset to the binary data.
 
See Also
 
WinFreeErrorInfo, WinGetErrorInfo, WinGetLastError