ID3D11Device::CheckFormatSupport method

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
2 out of 2 rated this helpful - Rate this topic

Get the support of a given format on the installed video device.

Syntax


HRESULT CheckFormatSupport(
  [in]   DXGI_FORMAT Format,
  [out]  UINT *pFormatSupport
);

Parameters

Format [in]

Type: DXGI_FORMAT

A DXGI_FORMAT enumeration that describes a format for which to check for support.

pFormatSupport [out]

Type: UINT*

A bitfield of D3D11_FORMAT_SUPPORT enumeration values describing how the specified format is supported on the installed device. The values are ORed together.

Return value

Type: HRESULT

Returns S_OK if successful; otherwise, returns E_INVALIDARG if the Format parameter is NULL, or returns E_FAIL if the described format does not exist.

Remarks

Windows Phone 8: This API is supported.

Requirements

Header

D3D11.h

Library

D3D11.lib

See also

ID3D11Device

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

© 2013 Microsoft. All rights reserved.