IddCxReportCriticalError - NtDoc

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

NTSTATUS IddCxReportCriticalError(
  IDDCX_ADAPTER                      AdapterObject,
  const IDARG_IN_REPORTCRITICALERROR *pInArgs
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-iddcx-iddcxreportcriticalerror)

Description

IddCxReportCriticalError is an OS callback function called by an indirect display driver (IDD) to report a critical error.

Parameters

AdapterObject

An IDDCX_ADAPTER object of the adapter on which the critical error occurred. If the error occurred before an IDDCX_ADAPTER was created, the IDD should pass nullptr.

pInArgs

Pointer to an IDARG_IN_REPORTCRITICALERROR structure containing the error code of the critical error.

Return value

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

Remarks

When an IDD calls IddCxCriticalError, the OS will do the following:

As a user mode memory dump is generated, the driver should place any useful debug information on the stack of the function that called IddCxCriticalError.

See also

IDARG_IN_REPORTCRITICALERROR