Checks whether the system supports a device interface for a graphics component.
HRESULT CheckInterfaceSupport( [in] REFGUID InterfaceName, [out] LARGE_INTEGER *pUMDVersion );
- InterfaceName [in]
The GUID of the interface of the device version for which support is being checked. For example, __uuidof(ID3D10Device).
- pUMDVersion [out]
The user mode driver version of InterfaceName. This is returned only if the interface is supported. This parameter can be NULL.
S_OK indicates that the interface is supported, otherwise DXGI_ERROR_UNSUPPORTED is returned (For more information, see DXGI_ERROR).
Note You can use CheckInterfaceSupport only to check whether a Direct3D 10.x interface is supported, and only on Windows Vista SP1 and later versions of the operating system. If you try to use CheckInterfaceSupport to check whether a Direct3D 11.x and later version interface is supported, CheckInterfaceSupport returns DXGI_ERROR_UNSUPPORTED. Therefore, do not use CheckInterfaceSupport. Instead, to verify whether the operating system supports a particular interface, try to create the interface. For example, if you call the ID3D11Device::CreateBlendState method and it fails, the operating system does not support the ID3D11BlendState interface.
Windows Phone 8: This API is supported.