Attaches the calling process to the console of the specified process
#include <WinAPIProc.au3>
_WinAPI_AttachConsole ( [$iPID = -1] )
| $iPID | [optional] Identifier of the process. Set to -1 to attach to the current process. |
| Success: | True |
| Failure: | False |
Search AttachConsole in MSDN Library.