IHlinkBrowseContext::Clone

Duplicates a browse context.

HRESULT Clone(

IUnknown* piunkOuter,

// Controlling IUnknown interface for new browse context

REFIID riid,

// Interface ID to return on the new browse context

IUnknown** ppiunkObj

// Indirect pointer to the clone of the browse context object

);

Parameters

piunkOuter
[in, unique] Pointer to the controlling IUnknown interface for the new browse context. If NULL, the new browse context is not aggregated.
riid
[in] The interface to return on the new hyperlink. Typically IID_IHlink, or IID_IUnknown when punkOuter is non-NULL.
ppiunkObj
[out, iid_is] Indirect pointer to the clone of the browse context object.

Return Values

S_OK
The browse context has been duplicated.