[Contents] [Index] [Help] [Retrace] [browse <] [Browse >]


NAME
    SetConsoleTask -- Sets the default console for the process (V36)

SYNOPSIS
    oldport = SetConsoleTask(port)
    D0                        D1

    struct msgport *setconsoletask(struct msgport *)

FUNCTION
    Sets the default console task's port (pr_ConsoleTask) for the
    current process.

INPUTS
    port - The pr_MsgPort of the default console handler for the process

RESULT
    oldport - The previous ConsoleTask value.

SEE ALSO
    getconsoletask(), open()