SetHlinkSite method

[IHlink::SetHlinkSite may be altered or unavailable in subsequent versions of the operating system or product.]

Note The Microsoft ActiveX Hyperlink API is deprecated in Windows Internet Explorer 8 and later, and ActiveX technology as a whole is unsupported in the Microsoft Edge browser in favor of standards-based web APIs. For more information, see Saying goodbye to ActiveX, VBScript, attachEvent... and Get ready for plug-in free browsing.

Sets the interface pointer on the site object.


HRESULT retVal = object.SetHlinkSite(pihlSite, dwSiteData);


  • pihlSite [in]
    Type: [IHlinkSite](aa767933(v=vs.85).md)

    The address of a new IHlinkSite object for this hyperlink.

  • dwSiteData [in]
    Type: DWORD

    An unsigned long integer value that specifies additional information about the hyperlink for this site. Site data can be used to identify the hyperlink in the collection of hyperlinks for a particular site.

See also