Implemented by plugins. This call is used to inform plugins of variable information controlled by the browser.
#include <npapi.h> NPError NPP_SetValue(void *instance, NPNVariable variable, void *value);
The function has the following parameters:
- Pointer to plugin instance on which to set the variable.
- The variable being set.
- Value for the variable being set.
- If successful, the function should return
- If unsuccessful, the function should return the most relevant NPAPI error code. For possible values, see Error Codes.