Visit Mozilla.org

NPN GetStringIdentifier

From MDC


« Gecko Plugin API Reference « Scripting plugins

Contents

[edit] Summary

Returns an opaque identifier for the string that is passed in.

[edit] Syntax

#include <npruntime.h>
 
NPIdentifier NPN_GetStringIdentifier(const NPUTF8 *name);

[edit] Parameters

The function has the following parameters:

name
The string for which an opaque identifier should be returned.

[edit] Returns

An NPIdentifier identifying the string.

[edit] Description

All calls for the same string are guaranteed to return the same exact identifier.