Visit Mozilla.org

NPN IntFromIdentifier

From MDC

« Gecko Plugin API Reference « Scripting plugins

Contents

[edit] Summary

Returns the integer value corresponding to the given integer identifier.

[edit] Syntax

#include <npruntime.h>
 
int32_t NPN_IntFromIdentifier(NPIdentifier identifier);

[edit] Parameters

The function has the following parameter:

identifier
The integer identifier whose corresponding integer value should be returned.

[edit] Returns

An integer corresponding to the specified identifier.

Note: The behavior of this function is undefined if identifier isn't an integer identifier.