Method System.AttachConsole()


Method AttachConsole

int AttachConsole(int pid)

Description

Attaches calling process to a specific console.

Parameter pid
Note

Only available on certain Windows systems.

Returns

0 on success, non-zero otherwise.