dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/System/Diagnostics Process.cs, 1.7, 1


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/System/Diagnostics Process.cs, 1.7, 1.8
Date: Sun, 20 Jul 2003 23:05:10 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/System/Diagnostics
In directory subversions:/tmp/cvs-serv3303/System/Diagnostics

Modified Files:
        Process.cs 
Log Message:


Modify GetMainWindowHandle to take the process ID instead of the process handle.


Index: Process.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System/Diagnostics/Process.cs,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** Process.cs  29 May 2003 05:38:18 -0000      1.7
--- Process.cs  21 Jul 2003 03:05:08 -0000      1.8
***************
*** 241,245 ****
                                {
                                        Running();
!                                       return 
GetMainWindowHandle(processHandle);
                                }
                        }
--- 241,245 ----
                                {
                                        Running();
!                                       return GetMainWindowHandle(processID);
                                }
                        }
***************
*** 1074,1078 ****
        // Returns IntPtr.Zero if unknown.
        [MethodImpl(MethodImplOptions.InternalCall)]
!       extern private static IntPtr GetMainWindowHandle(IntPtr processHandle);
  
        // Get the title of a main window.  Returns null if unknown.
--- 1074,1078 ----
        // Returns IntPtr.Zero if unknown.
        [MethodImpl(MethodImplOptions.InternalCall)]
!       extern private static IntPtr GetMainWindowHandle(int processID);
  
        // Get the title of a main window.  Returns null if unknown.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]