// dispmprt.h
DXGKDDI_CONTROLDIAGNOSTICREPORTING DxgkddiControldiagnosticreporting;
NTSTATUS DxgkddiControldiagnosticreporting(
IN_CONST_PVOID MiniportDeviceContext,
IN_PDXGKARG_CONTROLDIAGNOSTICREPORTING pArgControlDiagnosticReporting
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
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.
MiniportDeviceContextIdentifies the adapter.
pArgControlDiagnosticReportingA 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 STATUS_SUCCESS if the operation succeeds. Otherwise, returns an appropriate NTSTATUS Values error code defined in Ntstatus.h.
//Declaration
DXGKDDI_CONTROLDIAGNOSTICREPORTING DxgkddiControldiagnosticreporting;
// Definition
NTSTATUS DxgkddiControldiagnosticreporting
(
IN_CONST_PVOID MiniportDeviceContext
IN_PDXGKARG_CONTROLDIAGNOSTICREPORTING pArgControlDiagnosticReporting
)
{...}
DXGKDDI_CONTROLDIAGNOSTICREPORTING *PDXGKDDI_CONTROLDIAGNOSTICREPORTING
This function is always called at PASSIVE level so the supporting code should be made pageable.
DXGKARG_QUERYDIAGNOSTICTYPESSUPPORT structure