DXGK_FAULT_ERROR_CODE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dkmdt-_dxgk_fault_error_code)

_DXGK_FAULT_ERROR_CODE structure

Description

The DXGK_FAULT_ERROR_CODE structure provides a status code for the graphics processing unit (GPU) error reported via a page fault interrupt.

Members

IsDeviceSpecificCode

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.

GeneralErrorCode

General error code defined by DXGK_GENERAL_ERROR_CODE.

IsDeviceSpecificCodeReservedBit

Same 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.

DeviceSpecificCode

A device specific error code.

See also

DXGK_GENERAL_ERROR_CODE