QueryService method

[IHlinkSite::QueryService 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.
 

Gets any service or interface from the hyperlink site object.

Syntax


HRESULT retVal = object.QueryService(dwSiteData, guidService, riid, ppiunk);

Parameters

dwSiteData [in]

Type: DWORD

An unsigned long integer value that specifies the hyperlink to the hyperlink site. The hyperlink site initializes the hyperlink with this value as part of IHlink::SetHlinkSite.

guidService [in]

Type: REFGUID

Not implemented.

riid [in]

Type: REFIID

The location to receive the riid (identifier) of the interface.

ppiunk [out]

Type: IUnknown

A pointer to the IUnknown interface of the service query.

See also

IHlinkSite::GetMoniker

 

 

Show: