*PFN_IDDCXREPORTCRITICALERROR callback function

Implemented by the client driver to ...

Syntax

*PFN_IDDCXREPORTCRITICALERROR *PfnIddcxreportcriticalerror;

NTSTATUS *PfnIddcxreportcriticalerror(
  PIDD_DRIVER_GLOBALS DriverGlobals,
  IDDCX_ADAPTER AdapterObject,
  IDARG_IN_REPORTCRITICALERROR *pInArgs
)
{...}

Parameters

DriverGlobals

Contains system-defined per-driver data.

AdapterObject

The adapter object that is the critical error occurred on. If the error occurred before a IddCxAdapter was created, pass in nullptr for this value.

pInArgs

Return Value

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

Remarks

The OS will bug check the driver with the following bug check code:

(pInArgs->MajorErrorCode+0x100 << 8) + pInArgs->MinorErrorCode

A Watson dump will be generated and driver process will terminate and restart according the UMDF driver restart policy. As a user mode memory dump is generated the driver should place any useful debug info on the stack of the function that calls this callback.

Requirements

   
Header iddcx.h