[]
Retrieves the device.
public T GetDevice<T>() where T : ComObject
Type | Description |
---|---|
T | The associated device. |
Name | Description |
---|---|
T | The interface that is returned can be any interface published by the device. |
HRESULT IDXGIDeviceSubObject::GetDevice([In] const GUID& riid,[Out] void** ppDevice)
public IntPtr GetDevice(Guid riid)
Type | Name | Description |
---|---|---|
Guid | riid |
Type | Description |
---|---|
IntPtr |