Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 437 Bytes

GetConsoleTask.md

File metadata and controls

27 lines (16 loc) · 437 Bytes

NAME

GetConsoleTask -- Returns the default console for the process (V36)

SYNOPSIS

    port = GetConsoleTask()
    D0

    struct MsgPort *GetConsoleTask(void)

Links: MsgPort

FUNCTION

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

RESULT port - The pr_MsgPort of the console handler, or NULL.

SEE ALSO

SetConsoleTask, Open