AddUrl method
Places the specified URL into the Windows Internet Explorer history.
Syntax
HRESULT retVal = object.AddUrl(pocsUrl, pocsTitle, dwFlags);
Parameters
pocsUrl [in]
Type: LPCOLESTRThe URL to place in the history.
pocsTitle [in]
Type: LPCOLESTRA pointer to the title associated with this URL. If NULL, no title is added.
dwFlags [in]
Type: DWORDNot implemented.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
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.