DXGKDDI_FEATURE_INTERFACE - NtDoc

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

typedef struct _DXGKDDI_FEATURE_INTERFACE {
  USHORT                         Size;
  USHORT                         Version;
  PVOID                          Context;
  PINTERFACE_REFERENCE           InterfaceReference;
  PINTERFACE_DEREFERENCE         InterfaceDereference;
  PDXGKDDI_QUERYFEATURESUPPORT   QueryFeatureSupport;
  PDXGKDDI_QUERYFEATUREINTERFACE QueryFeatureInterface;
} DXGKDDI_FEATURE_INTERFACE, *PDXGKDDI_FEATURE_INTERFACE;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

Description

The DXGKDDI_FEATURE_INTERFACE structure contains the display kernel-mode miniport driver's (KMD's) interface that the port driver can call to query for KMD's feature support.

Members

Size

The size, in bytes, of this structure.

Version

The version number of this interface. Version number constants are defined in Dispmprt.h (for example, DXGK_FEATURE_INTERFACE_VERSION_1).

Context

A pointer to a private context block.

InterfaceReference

Pointer to a KMD-implemented interface reference function.

InterfaceDereference

Pointer to a KMD-implemented interface dereference function.

QueryFeatureSupport

Pointer to a KMD-implemented DxgkDdiQueryFeatureSupport function to query feature support.

QueryFeatureInterface

Pointer to a KMD-implemented DxgkDdiQueryFeatureInterface function to query KMD's interfaces for a feature. The OS only calls these interfaces for enabled features, and always requests the interface for a version of the feature that the driver supports.

Remarks

If the driver implements the DXGKDDI_FEATURE_INTERFACE, it no longer needs to call DxgkCbQueryFeatureSupport to enable a feature in the port driver ahead of time. It can instead query feature support on demand using its DXGKDDI_FEATURE_INTERFACE interface.

For more information, see Querying WDDM feature support and enablement.

See also

DxgkDdiQueryFeatureSupport

DxgkDdiQueryInterface