Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Checks whether the system supports a device interface for a graphics component.
Syntax
HRESULT CheckInterfaceSupport(
[in] REFGUID InterfaceName,
[out] LARGE_INTEGER *pUMDVersion
);
Parameters
[in] InterfaceName
Type: REFGUID
The GUID of the interface of the device version for which support is being checked. This should usually be __uuidof(IDXGIDevice), which returns the version number of the Direct3D 9 UMD (user mode driver) binary. Since WDDM 2.3, all driver components within a driver package (D3D9, D3D11, and D3D12) have been required to share a single version number, so this is a good way to query the driver version regardless of which API is being used.
[out] pUMDVersion
Type: LARGE_INTEGER*
The user mode driver version of InterfaceName. This is returned only if the interface is supported, otherwise this parameter will be NULL.
Return value
Type: HRESULT
S_OK indicates that the interface is supported, otherwise DXGI_ERROR_UNSUPPORTED is returned (For more information, see DXGI_ERROR).
Remarks
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | dxgi.h |
Library | DXGI.lib |