Docs » Autodocs » dos.library » GetConsoleTask
GetConsoleTask -- Returns the default console for the process (V36)
port = GetConsoleTask() D0 struct MsgPort *GetConsoleTask(void)
Returns the default console task's port (pr_ConsoleTask) for the current process.
port - The pr_MsgPort of the console handler, or NULL.
SetConsoleTask(), Open()
|