[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.DXGI.DXGIObject

Class DXGIObject

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

IDXGIObject

[Guid("aec22fb8-76f3-4639-9be0-28eb43a67a2e")]
public class DXGIObject : ComObject, IDisposable, IUnknown
Inheritance
object
DXGIObject
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

DXGIObject(IntPtr)

Initializes a new instance of the DXGIObject class.

public DXGIObject(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Methods

GetParent(Guid)

HRESULT IDXGIObject::GetParent([In] const GUID& riid,[Out] void** ppParent)

public IntPtr GetParent(Guid riid)

Parameters

riid System.Guid

Returns

System.IntPtr

GetParent<T>()

Gets the parent of the object.

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

Returns

T

Returns the parent object based on the GUID of the type of the parent object.

Type Parameters

T

Type of the parent object

GetPrivateData(Guid, ref int, IntPtr)

HRESULT IDXGIObject::GetPrivateData([In] const GUID& Name,[InOut] unsigned int* pDataSize,[Out, Buffer] void* pData)

public HResult GetPrivateData(Guid name, ref int dataSizeRef, IntPtr dataRef)

Parameters

name System.Guid
dataSizeRef int
dataRef System.IntPtr

Returns

HResult

SetPrivateData(Guid, int, IntPtr)

HRESULT IDXGIObject::SetPrivateData([In] const GUID& Name,[In] unsigned int DataSize,[In, Buffer] const void* pData)

public void SetPrivateData(Guid name, int dataSize, IntPtr dataRef)

Parameters

name System.Guid
dataSize int
dataRef System.IntPtr

SetPrivateDataInterface(Guid, ComObject)

HRESULT IDXGIObject::SetPrivateDataInterface([In] const GUID& Name,[In] const IUnknown* pUnknown)

public void SetPrivateDataInterface(Guid name, ComObject unknownRef)

Parameters

name System.Guid
unknownRef ComObject

Operators

explicit operator DXGIObject(IntPtr)

Performs an explicit conversion from System.IntPtr to DXGIObject.

public static explicit operator DXGIObject(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

DXGIObject