GetTargetFrame method

Gets a target frame.

Syntax

HRESULT retVal = object.GetTargetFrame(ppTargetFrame);

Parameters

  • ppTargetFrame [out]
    Type: [ITargetFrame](aa753663(v=vs.85).md)

    Receives the address of an ITargetFrame interface pointer.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.