DXGKCB_ISFEATUREENABLED callback function (d3dkmddi.h)
A kernel-mode display miniport driver (KMD) calls DXGKCB_ISFEATUREENABLED to query whether the OS will permit it to enable support for a feature.
Syntax
DXGKCB_ISFEATUREENABLED DxgkcbIsfeatureenabled;
NTSTATUS DxgkcbIsfeatureenabled(
[in/out] INOUT_PDXGKARGCB_ISFEATUREENABLED unnamedParam1
)
{...}
Parameters
[in/out] unnamedParam1
Pointer to a DXGKARGCB_ISFEATUREENABLED 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
Starting in WDDM 2.9, drivers can call DXGKCB_QUERYFEATURESUPPORT to provide additional information to the OS.
The OS sets the Enabled member of DXGKARGCB_ISFEATUREENABLED to TRUE when it allows 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.
DXGKCB_XXX functions are implemented by Dxgkrnl. To use this callback function, set the appropriate members of DXGKARGCB_ISFEATUREENABLED and then call DxgkCbIsFeatureEnabled via the DXGKRNL_INTERFACE.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1903 (WDDM 2.6) |
Header | d3dkmddi.h |
IRQL | PASSIVE_LEVEL |
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