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: teoli, rolfedh, Tvaleev, Josh, Mgjbot, Pmash
 Last updated by: teoli,