QueryUrl method
Queries the Windows Internet Explorer history and reports whether the URL passed as the pocsUrl parameter has been visited by the current user.
Syntax
HRESULT retVal = object.QueryUrl(pocsUrl, dwFlags, lpSTATURL);
Parameters
pocsUrl [in]
Type: LPCOLESTRThe URL to query.
dwFlags [in]
Type: DWORDOne of the IUrlHistory Flags.
lpSTATURL [in, out, optional]
Type: LPSTATURLA long that receives additional URL history information.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.