[]
IDXGIObject
[Guid("aec22fb8-76f3-4639-9be0-28eb43a67a2e")]
public class DXGIObject : ComObject, IDisposable, IUnknown
Initializes a new instance of the DXGIObject class.
public DXGIObject(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
HRESULT IDXGIObject::GetParent([In] const GUID& riid,[Out] void** ppParent)
public IntPtr GetParent(Guid riid)
riid
System.GuidGets the parent of the object.
public T GetParent<T>() where T : ComObject
Returns the parent object based on the GUID of the type of the parent object.
T
Type of the parent object
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)
name
System.GuiddataSizeRef
intdataRef
System.IntPtrHRESULT IDXGIObject::SetPrivateData([In] const GUID& Name,[In] unsigned int DataSize,[In, Buffer] const void* pData)
public void SetPrivateData(Guid name, int dataSize, IntPtr dataRef)
name
System.GuiddataSize
intdataRef
System.IntPtrHRESULT IDXGIObject::SetPrivateDataInterface([In] const GUID& Name,[In] const IUnknown* pUnknown)
public void SetPrivateDataInterface(Guid name, ComObject unknownRef)
name
System.GuidunknownRef
ComObjectPerforms an explicit conversion from System.IntPtr to DXGIObject.
public static explicit operator DXGIObject(IntPtr nativePointer)
nativePointer
System.IntPtr