DXGKDDI_QUERYFEATUREINTERFACE callback function (d3dkmddi.h)

KMD's DxgkDdiQueryFeatureInterface function is called to query its interface for a feature.

Syntax

DXGKDDI_QUERYFEATUREINTERFACE DxgkddiQueryfeatureinterface;

NTSTATUS() DxgkddiQueryfeatureinterface(
  IN_CONST_HANDLE hAdapter,
  INOUT_PDXGKARG_QUERYFEATUREINTERFACE 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_QUERYFEATUREINTERFACE structure in which input and output information about the feature's interface is stored.

Return value

DxgkDdiQueryFeatureInterface 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_QUERYFEATUREINTERFACE

DXGKDDI_FEATURE_INTERFACE