[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()