// d3dkmdt.h
typedef struct _DXGK_FAULT_ERROR_CODE {
union {
struct {
UINT IsDeviceSpecificCode : 1;
DXGK_GENERAL_ERROR_CODE GeneralErrorCode : 31;
};
struct {
UINT IsDeviceSpecificCodeReservedBit : 1;
UINT DeviceSpecificCode : 31;
};
};
} DXGK_FAULT_ERROR_CODE;
View the official Windows Driver Kit DDI referenceNo description available.
The DXGK_FAULT_ERROR_CODE structure provides a status code for the graphics processing unit (GPU) error reported via a page fault interrupt.
IsDeviceSpecificCodeWhen set, this indicates that the GPU error code is specific to the particular vendor. In this case, DeviceSpecificCode should be set to a vendor specific error code.
When not set, this indicates that the GPU error can be described via a set of predefined values in DXGK_GENERAL_ERROR_CODE enumeration. GeneralErrorCode value should be set to the corresponding error code.
GeneralErrorCodeGeneral error code defined by DXGK_GENERAL_ERROR_CODE.
IsDeviceSpecificCodeReservedBitSame as IsDeviceSpecificCode member above:
When set, this indicates that the GPU error code is specific to the particular vendor. In this case, DeviceSpecificCode should be set to a vendor specific error code.
When not set, this indicates that the GPU error can be described via a set of predefined values in DXGK_GENERAL_ERROR_CODE enumeration. GeneralErrorCode value should be set to the corresponding error code.
DeviceSpecificCodeA device specific error code.