nsGetModuleProc

Summary

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
);

Parameters

aCompMgr
[in] The XPCOM Component Manager.
aLocation
[in] The location of the module if any. May be null.
aResult
[out] The nsIModule instance.

See Also

NSGetModule, nsStaticModuleInfo, nsIModule