public static bool pluginit(ref Plugins.PLUG_INITSTRUCT initStruct)
 {
     Plugins.pluginHandle     = initStruct.pluginHandle;
     initStruct.sdkVersion    = Plugins.PLUG_SDKVERSION;
     initStruct.pluginVersion = plugin_version;
     initStruct.pluginName    = plugin_name;
     return(DotNetPluginCS.PluginInit(initStruct));
 }
Exemple #2
0
        public static bool PluginInit(Plugins.PLUG_INITSTRUCT initStruct)
        {
            if (!Plugins._plugin_registercommand(Plugins.pluginHandle, "ERC", RegisteredCommands.ErcCommand, false))
            {
                PLog.WriteLine("[ERC] error registering the \"ERC\" command!");
            }

            return(true);
        }
Exemple #3
0
 public static bool pluginit(ref Plugins.PLUG_INITSTRUCT initStruct)
 {
     Plugins.pluginHandle     = initStruct.pluginHandle;
     initStruct.sdkVersion    = Plugins.PLUG_SDKVERSION;
     initStruct.pluginVersion = plugin_version;
     initStruct.pluginName    = plugin_name;
     Console.SetOut(new TextWriterPLog());
     return(DotNetPluginCS.PluginInit(initStruct));
 }
 public static bool PluginInit(Plugins.PLUG_INITSTRUCT initStruct)
 {
     PLog.WriteLine("[DotNet TEST] pluginHandle: {0}", Plugins.pluginHandle);
     if (!Plugins._plugin_registercommand(Plugins.pluginHandle, "DotNetpluginTestCommand", RegisteredCommands.cbNetTestCommand, false))
     {
         PLog.WriteLine("[DotNet TEST] error registering the \"DotNetpluginTestCommand\" command!");
     }
     if (!Plugins._plugin_registercommand(Plugins.pluginHandle, "DotNetDumpProcess", RegisteredCommands.cbDumpProcessCommand, true))
     {
         PLog.WriteLine("[DotNet TEST] error registering the \"DotNetDumpProcess\" command!");
     }
     if (!Plugins._plugin_registercommand(Plugins.pluginHandle, "DotNetModuleEnum", RegisteredCommands.cbModuleEnum, true))
     {
         PLog.WriteLine("[DotNet TEST] error registering the \"DotNetModuleEnum\" command!");
     }
     return(true);
 }
 public static bool PlugIn_Init(Plugins.PLUG_INITSTRUCT initStruct)
 {
     //Plugins._plugin_registercommand(initStruct.pluginHandle, "GetHotSpots", HotSpot.cbLocateHotSpots, true);
     //PLog.WriteLine("[HotSpots] pluginHandle: {0}", Plugins.pluginHandle);
     return(true);
 }