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_GetValue

 

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

Summary

Allows the browser to query the plug-in for information.

Syntax

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

Parameters

The function has the following parameters:

instance
Pointer to the plugin instance from which the value should come.
variable
Variable for which the browser (caller) would like a value. The full list is in the NPAPI headers.
value
Value for the requested variable.

Returns

  • If successful, the function returns NPERR_NO_ERROR.
  • If unsuccessful, the function returns an error code. For possible values, see Error Codes.

Description

NPP_GetValue retrieves instance variables.

See Also

NPP_SetValue, NPN_GetValue, NPN_SetValue 

Document Tags and Contributors

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