DXGK_DISPLAY_DIAGNOSTICS_INTERFACE structure (dispmprt.h)
A kernel-mode component that needs to use the display diagnostics interface calls the display miniport driver's DxgkDdiQueryInterface function.
Syntax
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;
Members
[in] Size
Size, in bytes, of this structure.
[in] Version
Version number of the display diagnostics interface. Version number constants are defined in dispmprt.h (for example, DXGK_DISPLAY_DIAGNOSTICS_INTERFACE_VERSION_1).
[out] Context
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.
[out] InterfaceReference
Pointer to the display miniport driver's interface reference function.
[out] InterfaceDereference
Pointer the display miniport driver's interface dereference function.
[out] DxgkDdiGetDisplayStateNonIntrusive
Pointer to the display miniport driver's DxgkDdiGetDisplayStateNonIntrusive function.
[out] DxgkDdiGetDisplayStateIntrusive
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 2004 |
Header | dispmprt.h |
See also
DxgkDdiGetDisplayStateIntrusive