Contents Previous Page Next Page
IHlink::SetHlinkSite

Sets the hyperlink site and associated site data on a hyperlink object.

HRESULT SetHlinkSite(

    IHlinkSite * 
phlSite,    // Interface pointer to the new hyperlink site      
                                                                                 
    DWORD dwSiteData         // Additional site data                             
                                                                                 
   );                                                                            
                                                                                 

Parameters

phlSite

[in] Pointer to a new IHlinkSite object for this hyperlink.

dwSiteData

[in] DWORD that specifies additional information about the site. For instance, each site may differ in color or style from other sites in the same container.

Return Values

S_OK

The hyperlink site object and its site data have been successfully set.

See Also

IHlink::GetHlinkSite