Netscape DevEdge

Skip to: [content] [navigation]

TOC PREV NEXT

plug-ins!


NPN_ReloadPlugins


Reloads all plug-ins in the Plugins directory.

Syntax

#include <npapi.h>
 
void NPN_ReloadPlugins(NPBool reloadPages);code
 

Parameters

The function has the following parameter:

reloadPages
 

Whether to reload pages. Values:

  • true: Reload pages.
  • false: Do not reload pages.

Description

NPN_ReloadPlugins reads the Plugins directory for the current platform and reinstalls all of the plug-ins it finds there.

Netscape Gecko knows about all installed plug-ins at start-up. If you add or remove any plug-ins, the browser does not see them until you restart it. NPN_ReloadPlugins allows you to install a new plug-in and load it, or to remove a plug-in, without having to restart the browser. You could use this function as part of the plug-in's installation process.

See Also

NPN_Version
 


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT
A+R