mozilla
您的搜索结果

    NPN_UTF8FromIdentifier

    我们的志愿者还没有将这篇文章翻译为 中文 (简体) 。加入我们帮助完成翻译!

    « Gecko Plugin API Reference « Scripting plugins

    Summary

    Returns the UTF-8 string corresponding to the given string identifier.

    Syntax

    #include <npruntime.h>
     
    NPUTF8 *NPN_UTF8FromIdentifier(NPIdentifier identifier);
    

    Parameters

    The function has the following parameter:

    <tt>identifier</tt>
    The string identifier whose corresponding string should be returned.

    Returns

    A UTF-8 string as a sequence of NPUTF8 bytes, or NULL if the specified <tt>identifier</tt> isn't a string identifier.

    Description

    Once the caller is done with the returned string, the caller is responsible for deallocating the memory used by the string by calling NPN_MemFree().

    文档标签和贡献者

    标签: 
    此页面的贡献者有: Sheppy, Ben Karel
    最后编辑者: Ben Karel,