DXGKCB_QUERYFEATURESUPPORT - NtDoc

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

DXGKCB_QUERYFEATURESUPPORT DxgkcbQueryfeaturesupport;

NTSTATUS DxgkcbQueryfeaturesupport(
  INOUT_PDXGKARGCB_QUERYFEATURESUPPORT unnamedParam1
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3dkmddi-dxgkcb_queryfeaturesupport)

Description

A kernel-mode display miniport driver (KMD) calls DXGKCB_QUERYFEATURESUPPORT to query whether the OS will permit it to enable support for a feature. Starting in Windows 11, version 24H2 (WDDM 3.2), this port driver callback function has been replaced by DXGK_FEATURE_INTERFACE.

Parameters

unnamedParam1

Pointer to a DXGKARGCB_QUERYFEATURESUPPORT structure that contains information about the feature being queried.

Return value

Return STATUS_SUCCESS if the operation succeeds. Otherwise, returns an appropriate NTSTATUS code.

Remarks

The OS sets the Enabled member of DXGKARGCB_QUERYFEATURESUPPORT to TRUE when it permits the driver to enable support for the queried feature. Enabled is set to FALSE to instruct the driver to not enable its support for the feature.

The OS's determination of whether to enable a feature is based on a number of factors.

Pre-WDDM 2.9 drivers can call DXGKCB_ISFEATUREENABLED instead.

See also

DXGKARGCB_QUERYFEATURESUPPORT