Retrieves the hyperlink target interface on a hyperlinkÆs container (usually the document that contains the hyperlink site).
HRESULT GetInterface(
DWORD
dwSiteData, // Site data to identify the hyperlink its site
DWORD dwReserved, // Reserved for future use
REFIID riid, // Interface ID to return on the hyperlink container
Void* ppv // Buffer to receive the riid interface
);
Parameters
dwSiteData
[in] Identifies the hyperlink to the hyperlink site. The hyperlink site initializes the hyperlink with this value as part of IHlink::SetHlinkSite.
dwReserved
[in] Reserved for future use; must be set to zero by the caller. To ensure compatibility with future use, the callee must not check for zero.
riid
[in] Identifies the interface to return.
ppv
[out] Location to return the riid interface.
Return Values
S_OK
The hyperlink container interface was successfully retrieved.
E_NOINTERFACE
The desired interface is not available.
See Also