/[RomCheater]/trunk/RomCheater.PluginFramework/Core/ConfigPlugin.cs
ViewVC logotype

Diff of /trunk/RomCheater.PluginFramework/Core/ConfigPlugin.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/RomCheater.PluginFramework/Core/ConfigPlugin.cs	2012/05/28 09:18:58	173
+++ trunk/RomCheater.PluginFramework/Core/ConfigPlugin.cs	2012/05/28 09:21:52	174
@@ -1,5 +1,6 @@
 //#define DISABLE_VERBOSE_LOGGING_FOR_PERFORMANCE_BOOST // when defined will disable verbose logging for performance speed-up
 //#define DISALLOW_VERBOSE_LOGGING // when defined will disallow verbose logging for performance reasons
+#define ALLOW_SYSTEM_PROCESSES_TO_BE_INLUCDED // when defined system processes will be included in process list
 using System;
 using System.Collections.Generic;
 using System.Linq;
@@ -51,6 +52,7 @@
                 {
                     bool isSystem = false;
                     string proc_user = ThreadControl.GetProcessOwner(proc.Handle, out isSystem).ToLower();
+#if !ALLOW_SYSTEM_PROCESSES_TO_BE_INLUCDED
                     if (isSystem)
                     {
 #if !DISALLOW_VERBOSE_LOGGING
@@ -58,6 +60,7 @@
 #endif
                         continue;
                     }
+#endif
                     ProcContainer container = null;
                     try
                     {

 

  ViewVC Help
Powered by ViewVC 1.1.22