DXGKCB_QUERYFEATURESUPPORT callback function (d3dkmddi.h)
A kernel-mode display miniport driver (KMD) calls DXGKCB_QUERYFEATURESUPPORT to query whether the OS will permit it to enable support for a feature.
Syntax
DXGKCB_QUERYFEATURESUPPORT DxgkcbQueryfeaturesupport;
NTSTATUS DxgkcbQueryfeaturesupport(
INOUT_PDXGKARGCB_QUERYFEATURESUPPORT unnamedParam1
)
{...}
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 error 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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 version 20H1 |
Minimum supported server | Windows Server 2022 |
Header | d3dkmddi.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for