Contents Previous Page Next Page
IHlinkBrowseContext::Clone

Duplicates a browse context.

HRESULT Clone(

    IUnknown* 
punkOuter,        // Controlling IUnknown interface for possible aggregation          
                                                                                                    
    REFIID riid,                // Interface ID to return on the new browse context                 
                                                                                                    
    void** ppv                  // Receives the requested interfaceÆs pointer                       
                                                                                                    
   );                                                                                               
                                                                                                    

Parameters

punkOuter

[in] Pointer to the controlling IUnknown interface for the new hyperlink object. If NULL, the new hyperlink object is not aggregated.

riid

[in] The interface to return on the new hyperlink. Typically IID_IHlink, or IID_IUnknown when punkOuter is non-NULL.

ppv

[out] Receives the pointer to the riid interface.

Return Values

S_OK

The browse context has been duplicated.