This function prototype provides the XPCOM entry-point into a module.
#include "nsXPCOM.h" typedef nsresult (PR_CALLBACK *nsGetModuleProc)( nsIComponentManager *aCompMgr, nsIFile* aLocation, nsIModule** aResult );
nsIModule
NSGetModule, nsStaticModuleInfo, nsIModule