DxgkIsFeatureEnabled2 - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dkmddi.h

NTSTATUS DxgkIsFeatureEnabled2(
  PVOID                       DriverObject,
  DXGKARGCB_ISFEATUREENABLED2 *pArgs
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-d3dkmddi-dxgkisfeatureenabled2)

Description

KMD can call the display port driver's DxgkIsFeatureEnabled2 function before Dxgkrnl is enabled to determine whether a particular feature is enabled.

Parameters

DriverObject

[in] Pointer to a DRIVER_OBJECT. The display miniport driver previously obtained this pointer in its DriverEntry function.

pArgs

[in] Pointer to a DXGKARGCB_ISFEATUREENABLED2 structure that contains information about the feature to query.

Return value

DxgkIsFeatureEnabled2 returns STATUS_SUCCESS upon success completion. Otherwise, it returns an appropriate NTSTATUS code.

Remarks

DxgkIsFeatureEnabled2 is defined in the display port driver's library (displib.lib). As a result, KMD can call this function to check for the presence of an enabled feature before Dxgkrnl is initialized. Because DxgkIsFeatureEnabled2 is intended to be used at DriverEntry, only a subset of global features can be queried through it. This subset currently includes:

For more information, see Querying WDDM feature support and enablement.

See also

DriverEntry

DXGKARGCB_ISFEATUREENABLED2