GetTargetFrameName method

Note The Microsoft ActiveX Hyperlink API is deprecated in Windows Internet Explorer 8 and later, and ActiveX technology as a whole is unsupported in the Microsoft Edge browser in favor of standards-based web APIs. For more information, see Saying goodbye to ActiveX, VBScript, attachEvent... and Get ready for plug-in free browsing.

Gets the name of the target frame.


HRESULT retVal = object.GetTargetFrameName(ppwzTargetFrameName);


  • ppwzTargetFrameName [out]
    Type: LPWSTR

    The address of a pointer to a string that contains the target frame name of the hyperlink. This must not be NULL.

See also