#include <toolhelp.h>
typedef struct tagNFYRIP { /* nfyr */
DWORD dwSize;
WORD wIP;
WORD wCS;
WORD wSS;
WORD wBP;
WORD wExitCode;
} NFYRIP;
The NFYRIP structure contains information about the system when a system debugging error (RIP) occurs.
dwSize
Specifies the size of the NFYRIP structure, in bytes.
wIP
Contains the value in the IP register at the time of the RIP.
wCS
Contains the value in the CS register at the time of the RIP.
wSS
Contains the value in the SS register at the time of the RIP.
wBP
Contains the value in the BP register at the time of the RIP.
wExitCode
Contains an exit code that describes why the RIP occurred.
The StackTraceCSIPFirst function uses the CS:IP and SS:BP values presented in this structure. The first frame in the stack identified by these values points to the FatalExit function. The next frame points to the routine that called FatalExit, usually in USER.EXE, GDI.EXE, or either KRNL286.EXE or KRNL386.EXE.