File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -117,14 +117,14 @@ private void RefreshProcessList()
117117
118118 nativeHelper . EnumerateProcesses ( delegate ( ref NativeHelper . EnumerateProcessData data )
119119 {
120- var moduleName = Path . GetFileName ( data . ModulePath ) ;
120+ var moduleName = Path . GetFileName ( data . Path ) ;
121121 if ( ! filterCheckBox . Checked || ! CommonProcesses . Contains ( moduleName . ToLower ( ) ) )
122122 {
123123 var row = dt . NewRow ( ) ;
124- row [ "icon" ] = ShellIcon . GetSmallIcon ( data . ModulePath ) ;
124+ row [ "icon" ] = ShellIcon . GetSmallIcon ( data . Path ) ;
125125 row [ "name" ] = moduleName ;
126126 row [ "id" ] = data . Id ;
127- row [ "path" ] = data . ModulePath ;
127+ row [ "path" ] = data . Path ;
128128 dt . Rows . Add ( row ) ;
129129 }
130130
Original file line number Diff line number Diff line change @@ -380,7 +380,7 @@ public struct EnumerateProcessData
380380 public IntPtr Id ;
381381
382382 [ MarshalAs ( UnmanagedType . ByValTStr , SizeConst = 260 ) ]
383- public string ModulePath ;
383+ public string Path ;
384384 } ;
385385
386386 public void EnumerateProcesses ( EnumerateProcessCallback callbackProcess )
You can’t perform that action at this time.
0 commit comments