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![]()
- 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.
IDeleteBrowsingHistory at Medium Integrity?
I have a BHO that implements IDeleteBrowsingHistory and I notice that it gets called in the context of rundll32.exe running in Low Integrity. Is there something I am missing? If not then any way to make that implementation invoked from Medium Integrity rundll32.exe?
- 8/17/2010
- z03
User Preferences?
The documentation says: "
EricLawMSFT: Basically, yes, this is meant to reflect cookies and anything that is very cookie-like in nature. For instance, UserData, HTML5 DOM Storage, Silverlight's IsolatedStorage, Adobe Flash Storage, etc.
DELETE_BROWSING_HISTORY_COOKIES: Files stored on the computer and user preferences." What is meant by "user preferences" here? We're not talking about, for example, user-agent preferences such as would be set in the Internet Options control panel, right? The word "preferences" applies to web sites, not the user-agent?EricLawMSFT: Basically, yes, this is meant to reflect cookies and anything that is very cookie-like in nature. For instance, UserData, HTML5 DOM Storage, Silverlight's IsolatedStorage, Adobe Flash Storage, etc.
- 8/19/2009
- Deneb Meketa
- 9/18/2009
- EricLaw-MSFT
Use of this API
See http://blogs.msdn.com/ieinternals/archive/2009/06/30/IE8-Privacy-APIs-for-Addons.aspx for a discussion of this API.
- 6/30/2009
- EricLaw-MSFT
- 6/30/2009
- EricLaw-MSFT