IDXGIObject::GetParent method (dxgi.h)

Gets the parent of the object.

Syntax

HRESULT GetParent(
  [in]  REFIID riid,
  [out] void   **ppParent
);

Parameters

[in] riid

Type: REFIID

The ID of the requested interface.

[out] ppParent

Type: void**

The address of a pointer to the parent object.

Return value

Type: HRESULT

Returns one of the DXGI_ERROR values.

Requirements

Requirement Value
Target Platform Windows
Header dxgi.h
Library DXGI.lib

See also

DXGI Interfaces

IDXGIObject