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: LPCOLESTR

The URL to query.

dwFlags [in]

Type: DWORD

One of the IUrlHistory Flags.

lpSTATURL [in, out, optional]

Type: LPSTATURL

A 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.

 

 

Show: