Microsoft DirectX 9.0


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.


LPUNKNOWN GetOwner(void);

Return Value

Returns a pointer to the controlling IUnknown interface.

See Also

CUnknown Class