[]
        
(Showing Draft Content)

C1.Util.DX.DXGI.DeviceChild.GetDevice

GetDevice Method

GetDevice<T>()

Retrieves the device.

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

The associated device.

Type Parameters
Name Description
T

The interface that is returned can be any interface published by the device.

GetDevice(Guid)

HRESULT IDXGIDeviceSubObject::GetDevice([In] const GUID& riid,[Out] void** ppDevice)

Declaration
public IntPtr GetDevice(Guid riid)
Parameters
Type Name Description
Guid riid
Returns
Type Description
IntPtr