Docs » Autodocs » dos.library » SetConsoleTask
SetConsoleTask -- Sets the default console for the process (V36)
oldport = SetConsoleTask(port) D0 D1 struct MsgPort *SetConsoleTask(struct MsgPort *)
Sets the default console task's port (pr_ConsoleTask) for the current process.
port - The pr_MsgPort of the default console handler for the process
oldport - The previous ConsoleTask value.
GetConsoleTask(), Open()
|