The IHlinkSite interface provides methods for a hyperlink to retrieve the moniker or the interface on its hyperlink container. The navigation process which resolves a hyperlink uses this information to efficiently handle internal (within the same container) and external (to a different container) hyperlink references.
When to Implement
Implement IHlinkSite when you want to hyperlink to other documents. For each hyperlink object provided by the system, a third party, or that you create, you provide an IHlinkSite object. One site object can support multiple hyperlinks.
Methods in Vtable Order
IUnknown Methods Description
QueryInterface
Returns pointers to supported interfaces.
AddRef Increments reference count.
Release Decrements reference count.
IHlinkSite Methods Description
GetMoniker
Retrieves the moniker to the hyperlink target.
GetInterface Retrieves the interface to the hyperlink target.
OnNavigationComplete Notifies the hyperlink site that hyperlink navigation is complete.
See Also