NPN_GetStringIdentifiers

« Gecko Plugin API Reference « Scripting plugins

Summary

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

Syntax

#include <npruntime.h>

void NPN_GetStringIdentifiers(const NPUTF8 **names, int32_t nameCount, NPIdentifier *identifiers);

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 the first element of an array to fill with the identifiers for the strings specified by names.

Returns

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

Description

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