FindMainWindow() public method

public FindMainWindow ( int processId ) : IntPtr
processId int
return IntPtr
示例#1
0
        public static IntPtr GetMainWindowHandle(int processId)
        {
            MainWindowFinder finder = new MainWindowFinder();

            return(finder.FindMainWindow(processId));
        }
示例#2
0
 public static IntPtr GetMainWindowHandle(int processId) {
     MainWindowFinder finder = new MainWindowFinder();
     return finder.FindMainWindow(processId);
 }
示例#3
0
 public static IntPtr GetMainWindowHandle(int processId)
 {
     return(MainWindowFinder.FindMainWindow(processId));
 }