[]
        
(Showing Draft Content)

C1.Util.DX.DXGI.DXGIObject.GetParent

GetParent Method

GetParent<T>()

Gets the parent of the object.

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

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

Type Parameters
Name Description
T

Type of the parent object

GetParent(Guid)

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

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