Bewerken

Delen via


DXGKCB_QUERYFEATUREINTERFACE callback function (d3dkmddi.h)

DXGKCB_QUERYFEATUREINTERFACE is a port driver-implemented callback function that is used to query for a feature interface.

Syntax

DXGKCB_QUERYFEATUREINTERFACE DxgkcbQueryfeatureinterface;

NTSTATUS DxgkcbQueryfeatureinterface(
  IN_CONST_HANDLE hAdapter,
  INOUT_PDXGKARGCB_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 DXGKARGCB_QUERYFEATUREINTERFACE structure in which input and output information about the port driver's feature's interface is stored.

Return value

DXGKCB_QUERYFEATUREINTERFACE 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

DXGK_FEATURE_INTERFACE

DXGKARGCB_QUERYFEATUREINTERFACE