()
| 83 | internal static extern IntPtr GetStdHandle(StandardHandles nStdHandle); |
| 84 | |
| 85 | [DllImport("kernel32.dll", EntryPoint = "AllocConsole")] |
| 86 | [return: MarshalAs(UnmanagedType.Bool)] |
| 87 | internal static extern bool AllocConsole(); |
| 88 | |
| 89 | [DllImport("kernel32.dll")] |
| 90 | internal static extern bool AttachConsole(int pid); |