IDXGIFactory5::CheckFeatureSupport method (dxgi1_5.h)

Used to check for hardware feature support.

Syntax

HRESULT CheckFeatureSupport(
            DXGI_FEATURE Feature,
  [in, out] void         *pFeatureSupportData,
            UINT         FeatureSupportDataSize
);

Parameters

Feature

Type: DXGI_FEATURE

Specifies one member of DXGI_FEATURE to query support for.

[in, out] pFeatureSupportData

Type: void*

Specifies a pointer to a buffer that will be filled with data that describes the feature support.

FeatureSupportDataSize

Type: UINT

The size, in bytes, of pFeatureSupportData.

Return value

Type: HRESULT

This method returns an HRESULT success or error code.

Remarks

Refer to the description of DXGI_SWAP_CHAIN_FLAG_ALLOW_TEARING.

Requirements

Requirement Value
Target Platform Windows
Header dxgi1_5.h
Library Dxgi.lib

See also

IDXGIFactory5