IHlinkSite

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
QueryService Queries any service or other interface from the hyperlink site object
GetMoniker Retrieves the moniker to the hyperlink target.
ReadyToNavigate Notifies the hyperlink site that the hyperlink navigation is about to occur.
OnNavigationComplete Notifies the hyperlink site that hyperlink navigation is complete.

QuickInfo

  Windows NT: Use version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in hlink.h.

See Also

IHlink