Bewerken

Delen via


DXGKDDI_QUERYFEATURESUPPORT callback function (d3dkmddi.h)

KMD's DxgkDdiQueryFeatureSupport function is called to query its support for a feature.

Syntax

DXGKDDI_QUERYFEATURESUPPORT DxgkddiQueryfeaturesupport;

NTSTATUS DxgkddiQueryfeaturesupport(
  IN_CONST_HANDLE hAdapter,
  INOUT_PDXGKARG_QUERYFEATURESUPPORT pArgs
)
{...}

Parameters

hAdapter

[in] A handle to a context block associated with a display adapter. KMD previously provided this handle to Dxgkrnl in the MiniportDeviceContext output parameter of its DxgkDdiAddDevice function.

pArgs

[in/out] Pointer to a DXGKARG_QUERYFEATURESUPPORT structure in which input and output feature support information is stored.

Return value

DxgkDdiQueryFeatureSupport returns STATUS_SUCCESS upon successful completion. Otherwise, it returns an appropriate NTSTATUS code.

Remarks

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

Requirements

Requirement Value
Minimum supported client Windows 11, version 24H2 (WDDM 3.2)
Header d3dkmddi.h
IRQL PASSIVE_LEVEL

See also

DXGKARG_QUERYFEATURESUPPORT

DXGKDDI_FEATURE_INTERFACE