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

    NPN_Enumerate

    « Gecko Plugin API Reference « Scripting plugins

    Summary

    Gets the names of the properties and methods of the specified NPObject.

    Syntax

    #include <npruntime.h>
     
    bool NPN_Enumerate(NPP npp, NPObject *npobj, NPIdentifier **identifiers,
                       uint32_t *identifierCount);
    

    Parameters

    The function has the following parameters:

    npp
    The NPP indicating which plugin instance is making the request.
    npobj
    The object of which the properties and methods are to be retrieved.
    identifiers
    A pointer to receive a pointer to the start of an array of string identifiers of the names of the properties and methods of npobj.
    identifierCount
    A pointer to receive the number of identifiers in identifiers.

    Returns

    true if the names of the properties and methods were successfully retrieved, otherwise false.

    Note: The caller must call NPN_MemFree() on the pointer received through the identifiers parameter of a successful call to NPN_Enumerate to release the array of string identifiers when it is no longer needed. The callee allocates this array via NPN_MemAlloc().

     

    Document Tags and Contributors

    Contributors to this page: svdb
    Last updated by: svdb,