Compartir a través de


IUrlHistoryStg::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 QueryUrl(
  [in]                LPCOLESTR pocsUrl,
  [in]                DWORD     dwFlags,
  [in, out, optional] LPSTATURL lpSTATURL
);

Parameters

  • pocsUrl [in]
    The URL to query.

  • dwFlags [in]
    One of the IUrlHistory Flags.

  • lpSTATURL [in, out, optional]
    A long that receives additional URL history information.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows XP, Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Product

Internet Explorer 5.5

Header

Urlhist.h

IDL

Urlhist.idl

DLL

Shdocvw.dll

See also

IUrlHistoryStg