问题
I need to retrieve, in my Win32 standalone program, a list of currently installed Internet Explorer add-ons (Browser Helper Objects), and - if possible - their enabled/disabled status.
Since anti-spyware programs (or e.g. Autoruns) can get this list from somewhere, is there a simple way to request this list programatically?
EDIT: Thanks to @Stefan, who pointed me to the right registry keys (all HKLM):
// BHOs
HKLM\Software\Microsoft\Windows\CurrentVersion\explorer\Browser Helper Objects
// IE toolbars
HKLM\Software\Microsoft\Internet Explorer\Toolbar
// IE extensions
HKLM\Software\Microsoft\Internet Explorer\Extensions
回答1:
The BHOs are registered under
HKLM\Software\Microsoft\Windows\CurrentVersion\explorer\Browser Helper Objects
IE toolbars are registered under
HKLM\Software\Microsoft\Internet Explorer\Toolbar
回答2:
I use HijackThis.
[http://www.trendsecure.com/portal/en-US/tools/security_tools/hijackthis/overview]
It shows a list of BHOs (along with a -lot- of other useful information), but unfortunately, it doesn't show enabled/disabled status.
来源:https://stackoverflow.com/questions/413333/how-can-i-list-the-plugins-bhos-that-internet-explorer-uses-from-my-program