Export (0) Print
Expand All

IDeleteBrowsingHistory::DeleteBrowsingHistory Method

Indicates what type of browsing history to delete.

Syntax


HRESULT DeleteBrowsingHistory(
    DWORD dwFlags
);

Parameters

dwFlags
The type of history to delete. Any combination of the following flags:
DELETE_BROWSING_HISTORY_HISTORY
List of visited websites.
DELETE_BROWSING_HISTORY_COOKIES
Files stored on the computer that save user preferences.
DELETE_BROWSING_HISTORY_TIF
Copies of webpages, images, and media stored in the Temporary Internet Files (TIF) folder.
DELETE_BROWSING_HISTORY_FORMDATA
Information typed into forms.
DELETE_BROWSING_HISTORY_PASSWORDS
Saved passwords and logon information.
DELETE_BROWSING_HISTORY_PRESERVEFAVORITES
If specified, the extension should attempt to preserve cookies and files saved from favorite websites.
DELETE_BROWSING_HISTORY_DOWNLOADHISTORY New for Windows Internet Explorer 9 
Internet Explorer 9. List of recently downloaded files.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

This method is implemented by browser extensions. Internet Explorer invokes this method with the user selections from the Delete Browsing History dialog box. Extensions that implement this interface should securely remove their own data when instructed to do so.

Community Additions

ADD
Show:
© 2014 Microsoft