Description: This an example of my learning npapi learning. Wrote it myself, great reference value. Online npapi information is too small. Placed above reference.
To Search:
File list (Check if you may need any files):
npdemo\debug\npdemo.dll
......\.....\npdemo.exp
......\.....\npdemo.ilk
......\.....\npdemo.lib
......\.....\npdemo.pdb
......\.....\plugininstall.reg
......\.....\test.html
......\del.bat
......\ipch\npdemo-6d329795\npdemo-25d5322f.ipch
......\npapi\base\public\Makefile.in
......\.....\....\......\npapi.h
......\.....\....\......\npfunctions.h
......\.....\....\......\npruntime.h
......\.....\....\......\nptypes.h
......\.....\....\......\nsIHTTPHeaderListener.idl
......\.....\....\......\nsIPlugin.idl
......\.....\....\......\nsIPluginDocument.idl
......\.....\....\......\nsIPluginHost.idl
......\.....\....\......\nsIPluginInputStream.idl
......\.....\....\......\nsIPluginInstance.idl
......\.....\....\......\nsIPluginInstanceOwner.idl
......\.....\....\......\nsIPluginStreamInfo.idl
......\.....\....\......\nsIPluginStreamListener.idl
......\.....\....\......\nsIPluginTag.idl
......\.....\....\......\nsIPluginTagInfo.idl
......\.....\....\......\nsPluginError.h
......\.....\....\......\nsPluginLogging.h
......\.....\....\......\nsPluginNativeWindow.h
......\.....\....\......\nspluginroot.idl
......\.....\....\......\nsPluginsCID.h
......\.....\....\src\Makefile.in
......\.....\....\...\nsJSNPRuntime.cpp
......\.....\....\...\nsJSNPRuntime.h
......\.....\....\...\nsNPAPIPlugin.cpp
......\.....\....\...\nsNPAPIPlugin.h
......\.....\....\...\nsNPAPIPluginInstance.cpp
......\.....\....\...\nsNPAPIPluginInstance.h
......\.....\....\...\nsNPAPIPluginStreamListener.cpp
......\.....\....\...\nsNPAPIPluginStreamListener.h
......\.....\....\...\nsPluginDirServiceProvider.cpp
......\.....\....\...\nsPluginDirServiceProvider.h
......\.....\....\...\nsPluginHost.cpp
......\.....\....\...\nsPluginHost.h
......\.....\....\...\nsPluginManifestLineReader.h
......\.....\....\...\nsPluginModule.cpp
......\.....\....\...\nsPluginNativeWindow.cpp
......\.....\....\...\nsPluginNativeWindowGtk2.cpp
......\.....\....\...\nsPluginNativeWindowOS2.cpp
......\.....\....\...\nsPluginNativeWindowQt.cpp
......\.....\....\...\nsPluginNativeWindowWin.cpp
......\.....\....\...\nsPluginSafety.h
......\.....\....\...\nsPluginsDir.h
......\.....\....\...\nsPluginsDirBeOS.cpp
......\.....\....\...\nsPluginsDirDarwin.cpp
......\.....\....\...\nsPluginsDirOS2.cpp
......\.....\....\...\nsPluginsDirUnix.cpp
......\.....\....\...\nsPluginsDirUtils.h
......\.....\....\...\nsPluginsDirWin.cpp
......\.....\....\...\nsPluginStreamListenerPeer.cpp
......\.....\....\...\nsPluginStreamListenerPeer.h
......\.....\....\...\nsPluginTags.cpp
......\.....\....\...\nsPluginTags.h
......\.....\....\...\PluginPRLibrary.cpp
......\.....\....\...\PluginPRLibrary.h
......\.....\Makefile.in
......\.....\sdk\Makefile.in
......\.....\...\readme.txt
......\.....\...\samples\basic\mac\BasicPlugin.c
......\.....\...\.......\.....\...\BasicPlugin.h
......\.....\...\.......\.....\...\............xcodeproj\project.pbxproj
......\.....\...\.......\.....\...\COPYING
......\.....\...\.......\.....\...\English.lproj\InfoPlist.strings
......\.....\...\.......\.....\...\Info.plist
......\.....\...\.......\.....\readme.txt
......\.....\...\.......\.....\test.html
......\.....\...\.......\.....\unix\BasicPlugin.c
......\.....\...\.......\.....\....\BasicPlugin.h
......\.....\...\.......\.....\....\COPYING
......\.....\...\.......\.....\....\Makefile
......\.....\...\.......\.....\windows\basic.def
......\.....\...\.......\.....\.......\basic.rc
......\.....\...\.......\.....\.......\Makefile.in
......\.....\...\.......\.....\.......\npbasic.dsp
......\.....\...\.......\.....\.......\npbasic.dsw
......\.....\...\.......\.....\.......\plugin.cpp
......\.....\...\.......\.....\.......\plugin.h
......\.....\...\.......\.....\.......\resource.h
......\.....\...\.......\common\Makefile.in
......\.....\...\.......\......\npn_gate.cpp
......\.....\...\.......\......\npp_gate.cpp
......\.....\...\.......\......\np_entry.cpp
......\.....\...\.......\include\npplat.h
......\.....\...\.......\.......\pluginbase.h
......\.....\...\.......\Makefile.in
......\.....\...\.......\npruntime\Makefile.in
......