IDXGIObject::GetParent Method

Gets the parent of the object.

Syntax

public:
HRESULT GetParent(
         REFIID riid,
         void **ppParent
)  

Parameters

riid
Type: REFIID 

[in] The ID of the requested interface.

ppParent
Type: void **

[out] The address of a pointer to the parent object.

Return value

Type: HRESULT 

Returns one of the DXGI_ERROR values.

Requirements

Header: Declared in d3d11_x.h (dxgi.h on other Windows platforms).

Library: Use d3d11_x.lib (dxgi.lib on other Windows platforms).

See also

IDXGIObject

IDXGIObject Members