DXGKDDI_CONTROLDIAGNOSTICREPORTING callback function

The OS calls DxgkddiControlDiagnosticReporting to apply the set of diagnostics which should be enabled for a diagnostic category. Any diagnostics which are not included in the set should be disabled.

Syntax

DXGKDDI_CONTROLDIAGNOSTICREPORTING DxgkddiControldiagnosticreporting;

NTSTATUS DxgkddiControldiagnosticreporting(
  IN_CONST_PVOID MiniportDeviceContext,
  IN_PDXGKARG_CONTROLDIAGNOSTICREPORTING pArgControlDiagnosticReporting
)
{...}

Parameters

MiniportDeviceContext

Identifies the adapter.

pArgControlDiagnosticReporting

A pointer to a DXGKARG_QUERYDIAGNOSTICTYPESSUPPORT structure that indicates the category of diagnostic being queried and provides space for the driver to describe the diagnostic support it has.

Return Value

Return STATUS_SUCCESS if the operation succeeds. Otherwise, returns an appropriate NTSTATUS Values error code defined in Ntstatus.h.

Remarks

This function is always called at PASSIVE level so the supporting code should be made pageable.

Requirements

   
Header dispmprt.h

See Also

DXGKARG_QUERYDIAGNOSTICTYPESSUPPORT structure