DXGK_DISPLAY_DIAGNOSTICS_INTERFACE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// dispmprt.h

typedef struct _DXGK_DISPLAY_DIAGNOSTICS_INTERFACE {
  [in]  IN USHORT                               Size;
  [in]  IN USHORT                               Version;
  [out] OUT PVOID                               Context;
  [out] OUT PINTERFACE_REFERENCE                InterfaceReference;
  [out] OUT PINTERFACE_DEREFERENCE              InterfaceDereference;
  [out] OUT DXGKDDI_GETDISPLAYSTATENONINTRUSIVE DxgkDdiGetDisplayStateNonIntrusive;
  [out] OUT DXGKDDI_GETDISPLAYSTATEINTRUSIVE    DxgkDdiGetDisplayStateIntrusive;
} DXGK_DISPLAY_DIAGNOSTICS_INTERFACE, *PDXGK_DISPLAY_DIAGNOSTICS_INTERFACE;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-dispmprt-dxgk_display_diagnostics_interface)

DXGK_DISPLAY_DIAGNOSTICS_INTERFACE structure

Description

A kernel-mode component that needs to use the display diagnostics interface calls the display miniport driver's DxgkDdiQueryInterface function.

Members

Size [in]

Size, in bytes, of this structure.

Version [in]

Version number of the display diagnostics interface. Version number constants are defined in dispmprt.h (for example, DXGK_DISPLAY_DIAGNOSTICS_INTERFACE_VERSION_1).

Context [out]

Pointer to a private context block provided by the display miniport driver. The operating system will provide this Context back to the driver in interface DDI calls. The driver should ensure that this context is adapter-specific and not driver-global because the operating system stores the interface information per adapter.

InterfaceReference [out]

Pointer to the display miniport driver's interface reference function.

InterfaceDereference [out]

Pointer the display miniport driver's interface dereference function.

DxgkDdiGetDisplayStateNonIntrusive [out]

Pointer to the display miniport driver's DxgkDdiGetDisplayStateNonIntrusive function.

DxgkDdiGetDisplayStateIntrusive [out]

Pointer to the display miniport driver's DxgkDdiGetDisplayStateIntrusive function.

Remarks

The operating system will query the display diagnostics interface for each graphics adapter when they are started.

See also

DxgkDdiGetDisplayStateIntrusive

DxgkDdiGetDisplayStateNonIntrusive

PINTERFACE_DEREFERENCE

PINTERFACE_REFERENCE