// d3dkmddi.h
DXGKCB_ISFEATUREENABLED2 DxgkcbIsfeatureenabled2;
NTSTATUS DxgkcbIsfeatureenabled2(
IN_CONST_HANDLE hAdapter,
INOUT_PDXGKARGCB_ISFEATUREENABLED2 pArgs
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
A kernel-mode display miniport driver (KMD) calls DXGKCB_ISFEATUREENABLED2 to query whether the OS has enabled a feature.
hAdapter[in] The adapter for which to query the feature. If the feature is a global feature, this value must be NULL.
pArgs[in/out] Pointer to a DXGKARGCB_ISFEATUREENABLED2 structure that contains information about the feature being queried.
DXGKCB_ISFEATUREENABLED2 returns STATUS_SUCCESS if the operation succeeds. Otherwise, returns an appropriate NTSTATUS code.
For more information, see Querying WDDM feature support and enablement.