For completeness, maybe should add a:
>extern ENVIRONMENT_API void envInstallNASHooks(IPropertyTree *nasPTree);

and use below instead of 'dummy'