Wednesday, December 23, 2009

NPAPI Plugin

http://mqjing.blogspot.com/2008/09/plugin-firefox-plugin.html
http://docs.rinet.ru/Plugi/
http://docs.rinet.ru/Plugi/ch8.htm
http://devedge-temp.mozilla.org/library/manuals/2002/plugin/1.0/initdestruct.html
https://developer.mozilla.org/en/Gecko_Plugin_API_Reference/Scripting_plugins
https://developer.mozilla.org/en/Gecko_Plugin_API_Reference
https://developer.mozilla.org/en/Gecko_Plugin_API_Reference/Plug-in_Side_Plug-in_API
https://developer.mozilla.org/en/Gecko_Plugin_API_Reference


The plug-in APIs, which are called from Netscape.

API Name
Description
NPP_DestroyDeletes an instance of a plug-in.
NPP_DestroyStreamCalled when a data stream is complete.
NPP_GetJavaClassReturns the plug-in associated Java class.
NPP_HandleEventMacintosh-only event handler.
NPP_InitializeGlobal initialization.
NPP_NewCreates a new instance of a plug-in.
NPP_NewStreamCalled when a new stream has been created.
NPP_PrintPrint handler.
NPP_SetWindowCalled during plug-ins window activity.
NPP_ShutdownGlobal termination.
NPP_StreamAsFileGives the filename for the stream.
NPP_URLNotifyNotifies the completion of a URL request.
NPP_WriteCalled to write data to a plug-in.
NPP_WriteReadyDetermines whether a plug-in is ready for data.

The Netscape APIs, which are called from the plug-in.
API Name
Description
NPN_DestroyStreamTerminates a data stream.
NPN_GetJavaEnvReturns the Java execution environment.
NPN_GetJavaPeerReturns the plug-in associated Java object.
NPN_GetURLRequests that a new stream be created.
NPN_GetURLNotifyRequests that a new stream be created with notification.
NPN_MemAllocAllocated memory.
NPN_MemFlushMacintosh-only flush memory.
NPN_MemFreeFrees memory.
NPN_NewStreamCreates a new stream of data.
NPN_PostURLPosts data to a URL.
NPN_PostURLNotifyPosts data to a URL and notifies of result.
NPN_RequestReadRequests bytes from a stream.
NPN_StatusDisplays a status message.
NPN_UserAgentGets Navigator's user agent field.
NPN_VersionGets the Navigators plug-in version.
NPN_WriteWrites to a stream.

No comments:

Related Posts Plugin for WordPress, Blogger...