DXGK_FAULT_ERROR_CODE structure (d3dkmdt.h)

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

Syntax

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;

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.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Header d3dkmdt.h (include D3dkmddi.h)

See also

DXGK_GENERAL_ERROR_CODE