[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.DXGI.DeviceChild

Class DeviceChild

Namespace
GrapeCity.Documents.DX.DXGI
Assembly
GcDocs.DX.Windows.dll

IDXGIDeviceSubObject

[Guid("3d3e0379-f9de-4d58-bb6c-18d62992f1a6")]
public class DeviceChild : DXGIObject, IDisposable, IUnknown
Inheritance
object
DeviceChild
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

DeviceChild(IntPtr)

Initializes a new instance of the DeviceChild class.

public DeviceChild(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Properties

DebugName

Gets or sets the debug-name for this object.

public string DebugName { get; set; }

Property Value

string

The debug name.

Methods

GetDevice(Guid)

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

public IntPtr GetDevice(Guid riid)

Parameters

riid System.Guid

Returns

System.IntPtr

GetDevice<T>()

Retrieves the device.

public T GetDevice<T>() where T : ComObject

Returns

T

The associated device.

Type Parameters

T

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

Operators

explicit operator DeviceChild(IntPtr)

Performs an explicit conversion from System.IntPtr to DeviceChild.

public static explicit operator DeviceChild(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

DeviceChild