// iddcx.h
struct IDARG_IN_REPORTCRITICALERROR {
ULONG MajorErrorCode;
ULONG MinorErrorCode;
};
View the official Windows Driver Kit DDI referenceNo description available.
The IDARG_IN_REPORTCRITICALERROR structure contains information about a critical error being reported by an indirect display driver (IDD).
MajorErrorCode[In] The major error code for this critical error. Valid range 0-0xff inclusive. IddCx will add 0x100 to this value before passing to Windows Error Reporting when creating a memory dump.
MinorErrorCode[in] The minor error code for this critical error. Valid range 0-0xff inclusive.
It is recommended that the driver use a unique combination of a major code and minor code so these cases can be identified in crashes and Watson reports.