Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 565 Bytes

SetConsoleTask.md

File metadata and controls

31 lines (18 loc) · 565 Bytes

NAME

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

SYNOPSIS

    oldport = SetConsoleTask(port)
    D0                        D1

    struct MsgPort *SetConsoleTask(struct MsgPort *)

Links: MsgPort 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