# IHlink::SetHlinkSite

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

HRESULT SetHlinkSite(

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

Parameters

pihlSite
  [in, unique] 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