[]
        
(Showing Draft Content)

C1.Util.DX.DXGI.Adapter.IsInterfaceSupported

IsInterfaceSupported Method

IsInterfaceSupported(Type)

Checks to see if a device interface for a graphics component is supported by the system.

Declaration
public bool IsInterfaceSupported(Type type)
Parameters
Type Name Description
Type type

The GUID of the interface of the device version for which support is being checked. For example, typeof(ID3D10Device).GUID.

Returns
Type Description
bool

true if the interface is supported; otherwise, false.

IsInterfaceSupported<T>()

Checks to see if a device interface for a graphics component is supported by the system.

Declaration
public bool IsInterfaceSupported<T>() where T : ComObject
Returns
Type Description
bool

true if the interface is supported; otherwise, false.

Type Parameters
Name Description
T

the interface of the device version for which support is being checked.

IsInterfaceSupported<T>(out long)

Checks to see if a device interface for a graphics component is supported by the system.

Declaration
public bool IsInterfaceSupported<T>(out long userModeVersion) where T : ComObject
Parameters
Type Name Description
long userModeVersion

The user mode driver version of InterfaceName. This is only returned if the interface is supported.

Returns
Type Description
bool

true if the interface is supported; otherwise, false.

Type Parameters
Name Description
T

the interface of the device version for which support is being checked.

IsInterfaceSupported(Type, out long)

Checks to see if a device interface for a graphics component is supported by the system.

Declaration
public bool IsInterfaceSupported(Type type, out long userModeVersion)
Parameters
Type Name Description
Type type

The GUID of the interface of the device version for which support is being checked. For example, typeof(ID3D10Device).GUID.

long userModeVersion

The user mode driver version of InterfaceName. This is only returned if the interface is supported.

Returns
Type Description
bool

true if the interface is supported; otherwise, false.