Bewerken

Delen via


DXGKDDI_CONTROLDIAGNOSTICREPORTING callback function (dispmprt.h)

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

Requirement Value
Header dispmprt.h

See also

DXGKARG_QUERYDIAGNOSTICTYPESSUPPORT structure