Contents Index Topic Contents | ||
Previous Topic: IHlinkSite::OnNavigationComplete Next Topic: IHlinkSite::ReadyToNavigate |
IHlinkSite::QueryService
HRESULT QueryService( DWORD dwSiteData, //Site data to identify the hyperlink its site REFGUID guidService, //TBD REFIID riid, //Location to return the riid interface IUnknown* ppiunk //Location to receive the unknown interface pointer of service query );Allows querying of any service or other interface from the hyperlink site object. This is similar to IServiceProvider::QueryService.
- Returns S_OK if the hyperlink container interface was successfully retrieved, or E_NOINTERFACE if the desired interface is not available.
- dwSiteData
- [in] Used to identify the hyperlink to the hyperlink site. The hyperlink site initializes the hyperlink with this value as part of IHlink::SetHlinkSite.
- guidService
- [in] Not currently implemented.
- riid
- [in] Location to return the riid interface.
- ppiunk
- [iid_is, out] Location to return the IUnknown interface of the service query.
See also IHlinkSite::GetMoniker
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.