AttachConsole (kernel32)
Last changed: LNK1123-84.26.94.125

.
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