Microsoft DirectX 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.

See Also

CUnknown Class