Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

NPP_SetValue

« Gecko Plugin API Reference « Plug-in Side Plug-in API

Summary

Implemented by plugins. This call is used to inform plugins of variable information controlled by the browser.

Syntax

#include <npapi.h>
 
NPError NPP_SetValue(void *instance,
                     NPNVariable variable,
                     void *value);

Parameters

The function has the following parameters:

instance
Pointer to plugin instance on which to set the variable.
variable
The variable being set.
value
Value for the variable being set.

Returns

  • If successful, the function should return NPERR_NO_ERROR.
  • If unsuccessful, the function should return the most relevant NPAPI error code. For possible values, see Error Codes.

Description

None

See Also

NPP_New, NPP_GetValue, NPN_SetValue, NPN_GetValue

Document Tags and Contributors

Tags: 
 Contributors to this page: rolfedh, Tvaleev, teoli, Josh, Mgjbot, Pmash
 Last updated by: rolfedh,