ID3D11VideoDevice2::CheckFeatureSupport method (d3d11_4.h)

Gets information about the features that are supported by the current video driver.

Syntax

HRESULT CheckFeatureSupport(
  D3D11_FEATURE_VIDEO Feature,
  void                *pFeatureSupportData,
  UINT                FeatureSupportDataSize
);

Parameters

Feature

A member of the D3D11_FEATURE_VIDEO enumeration that specifies the feature to query for support.

pFeatureSupportData

A structure that contains data that describes the configuration details of the feature for which support is requested and, upon the completion of the call, is populated with details about the level of support available. For information on the structure that is associated with each type of feature support request, see the field descriptions for D3D11_FEATURE_VIDEO.

FeatureSupportDataSize

The size of the structure passed to the pFeatureSupportData parameter.

Return value

Returns S_OK if successful; otherwise, returns E_INVALIDARG if an unsupported data type is passed to the pFeatureSupportData parameter or a size mismatch is detected for the FeatureSupportDataSize parameter.

Requirements

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Header d3d11_4.h

See also

D3D11_FEATURE_VIDEO