// 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 referenceNo description available.
PFN_IDDCXREPORTCRITICALERROR is a pointer to an OS callback function through which to report a critical error.
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.
If the routine succeeds, it never returns to the driver as the driver process will be terminated.
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.