PFN_IDDCXREPORTCRITICALERROR callback function (iddcx.h)

PFN_IDDCXREPORTCRITICALERROR is a pointer to an OS callback function through which to report a critical error.

Syntax

PFN_IDDCXREPORTCRITICALERROR PfnIddcxreportcriticalerror;

NTSTATUS * PfnIddcxreportcriticalerror(
  [in]      PIDD_DRIVER_GLOBALS DriverGlobals,
  [in, opt] IDDCX_ADAPTER AdapterObject,
  [in]      const IDARG_IN_REPORTCRITICALERROR *pInArgs
)
{...}

Parameters

[in] DriverGlobals

Pointer to an IDD_DRIVER_GLOBALS structure containing system-defined per-driver data.

[in, opt] AdapterObject

The adapter object of the adapter on which the critical error occurred. If the error occurred before an IDDCX_ADAPTER object was created, pass in nullptr for this value.

[in] pInArgs

Pointer to an IDARG_IN_REPORTCRITICALERROR structure containing input arguments to the function.

Return value

If the routine succeeds, it never returns to the driver as the driver process will be terminated.

Remarks

An indirect display driver (IDD) should not use this pointer to directly call the function that it points to. IDDs should instead call IddCxReportCriticalError to report a critical error.

Requirements

Requirement Value
Minimum supported client Windows 10
Header iddcx.h

See also

IDARG_IN_REPORTCRITICALERROR

IddCxReportCriticalError