IDXGIObject::GetParent method

Gets the parent of the object.

Syntax

HRESULT GetParent(
  REFIID riid,
  void   **ppParent
);

Parameters

riid

Type: REFIID

The ID of the requested interface.

ppParent

Type: void**

The address of a pointer to the parent object.

Return Value

Type: HRESULT

Returns one of the DXGI_ERROR values.

Requirements

   
Target Platform Windows
Header dxgi.h
Library DXGI.lib

See Also

DXGI Interfaces

IDXGIObject