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

    NP_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 NP_GetValue(void *instance, 
                        NPPVariable variable, 
                        void *value);
    

    Parameters

    The function has the following parameters:

    instance
    Pointer to the current plug-in instance. instance parameter is NULL because no instance has been created.
    variable
    Plug-in information the call gets. Values:
    • NPPVpluginNameString: Gets the name of the plug-in
    • NPPVpluginDescriptionString: Gets the description string of the plug-in
    value
    Plug-in name, returned by the function.

    Returns

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

    Description

    None.

    See Also

    NPP_SetValue

    Document Tags and Contributors

    Tags: 
    Contributors to this page: Pmash, Nickolay, Mgjbot
    Last updated by: Mgjbot,