IUrlHistoryStg::AddUrl Method

Places the specified URL into the Windows Internet Explorer history.

Syntax


HRESULT AddUrl(
    LPCOLESTR pocsUrl,
    LPCOLESTR pocsTitle,
    DWORD dwFlags
);

Parameters

pocsUrl
[in] The URL to place in the history.
pocsTitle
[in] A pointer to the title associated with this URL. If NULL, no title is added.
dwFlags
[in] Not implemented.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

If the URL does not exist in the history, an entry is created in the history. If the URL does exist in the history, it is overwritten.

Community Additions

ADD
Show:
© 2014 Microsoft