CUnknown::GetOwner

 
Microsoft DirectShow 9.0

CUnknown::GetOwner

The GetOwner method retrieves a pointer to the IUnknown interface of the owning component. For an aggregated component, the owner is the outer component. Otherwise, the component owns itself.

Syntax

  LPUNKNOWN GetOwner(void);

Return Value

Returns a pointer to the controlling IUnknown interface.

Requirements

**  Header:** Declared in Combase.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also

CUnknown Class