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  //Address of output variable that receives 
                        //the interface pointer requested in riid
);
 

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 piunkOuter is non-NULL.
ppiunkObj
[out, iid_is] Address of pointer variable that receives the interface pointer requested in riid. Upon successful return, *ppiunkObj contains the requested interface pointer to the clone of the browse context object.

Return Values

S_OK
The browse context has been duplicated.

QuickInfo

  Windows NT: Use version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in hlink.h.