PFN_IDDCXREPORTCRITICALERROR - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// iddcx.h

PFN_IDDCXREPORTCRITICALERROR PfnIddcxreportcriticalerror;

NTSTATUS * PfnIddcxreportcriticalerror(
  [in]      PIDD_DRIVER_GLOBALS DriverGlobals,
  [in, opt] IDDCX_ADAPTER AdapterObject,
  [in]      const IDARG_IN_REPORTCRITICALERROR *pInArgs
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-iddcx-pfn_iddcxreportcriticalerror)

PFN_IDDCXREPORTCRITICALERROR callback function

Description

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

Parameters

DriverGlobals [in]

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

AdapterObject [in, opt]

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.

pInArgs [in]

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.

See also

IDARG_IN_REPORTCRITICALERROR

IddCxReportCriticalError