MDN may have intermittent access issues April 18 13:00 - April 19 01:00 UTC. See whistlepig.mozilla.org for all notifications.

mozilla
Your Search Results

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