Partager via


Clone method

[IHlinkBrowseContext::Clone may be altered or unavailable in subsequent versions of the operating system or product.]

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.

 

Duplicates a browse context.

Syntax

HRESULT retVal = object.Clone(piunkOuter, riid, ppiunkObj);

Parameters

  • piunkOuter [in]
    Type: IUnknown

    The address of the controlling IUnknown interface for the new browse context. If this is NULL, the new browse context is not aggregated.

  • riid [in]
    Type: REFIID

    THe interface to return on the new hyperlink. Typically, IID_IHlink or IID_IUnknown, when piunkOuter is non-NULL.

  • ppiunkObj [out]
    Type: IUnknown

    The address of a pointer to the clone of the browse context object.