Visit Mozilla.org

NPN GetStringIdentifiers

From MDC


« Gecko Plugin API Reference « Scripting plugins

Contents

[edit] Summary

Returns an array of opaque identifiers for the names that are passed in.

[edit] Syntax

#include <npruntime.h>
 
void NPN_GetStringIdentifiers(const NPUTF8 **names, int32_t nameCount, NPIdentifier *identifiers);

[edit] Parameters

The function has the following parameters:

names
An array of strings for which opaque identifiers should be returned.
nameCount
The number of strings in the names array.
identifiers
A pointer to an array to fill with the identifiers for the strings specified by names.

[edit] Returns

On return, the identifiers array is filled out with the identifiers for each of the strings in the names array.

[edit] Description

As is the case with NPN_GetStringIdentifier(), all calls for the same strings are guaranteed to return the same exact identifiers.