attachconsole (kernel32)
Last changed: M.K.-72.129.90.126

.
Summary
Attaches the calling process to the console of the specified process.

C# Signature:

[DllImport("kernel32.dll", SetLastError=true, ExactSpelling=true)]
static extern bool AttachConsole(uint dwProcessId);

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation