
NPP_SetValue
Sets information about the plug-in.
Syntax
Parameters
The function has the following parameters:
Returns
If successful, the function returns NPERR_NO_ERROR.
If unsuccessful, the plug-in is not loaded and the function returns an error code. For possible values, see Error Codes.
Description
NPP_SetValue sets a variety of features for a plug-in, among them whether a plug-in is windowed or windowless and whether JavaScript is enabled. For possible values, see NPP_GetValue. The plug-in makes this call from its NPP_New method.
For example, to specify that a plug-in is windowless, use NPP_SetValue with NPPVpluginWindowBool as the variable to set and false as the value parameter. If a plug-in does not make this call, it is considered a windowed plug-in.
See Also
NPP_New, NPP_GetValue
|
Netscape Communications http://developer.netscape.com |
