ITargetFrame2::GetParentFrame Method

Gets the parent of the frame.

Syntax

HRESULT GetParentFrame(
    IUnknown **ppunkParent
);

Parameters

  • ppunkParent
    [out] A pointer to an IUnknown interface that specifies the parent of the frame.

Return Value

Returns S_OK if successful, or an error value otherwise.