title: Open Notepad and add Text not working
body: <p>I just saw this snippet from the internet but it doesn't work from me.
  It's suppose to open a new notepad application and add "asdf" into it.</p>
  
  <p>Is there any wrong on the code?</p>
  
  <pre><code>[DllImport("User32.dll")]     
          public static extern int SendMessage(IntPtr hWnd, int uMsg, int wParam, [MarshalAs(UnmanagedType.LPStr)] string lParam);
  
  void Test()
  {
           const int WM_SETTEXT = 0x000C;
  
      ProcessStartInfo startInfo = new ProcessStartInfo("notepad.exe");
      startInfo.UseShellExecute = false;
      Process notepad = System.Diagnostics.Process.Start(startInfo);
      SendMessage(notepad.MainWindowHandle, WM_SETTEXT, 0, "asdf");
  }
  </code></pre>