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


NAME
    PubScreenStatus -- Change status flags for a public screen. (V36)

SYNOPSIS
    ResultFlags = PubScreenStatus( screen, statusflags )
    D0                             A0      D0

    UWORD PubScreenStatus( struct screen *, uword );

FUNCTION
    Changes status flags for a given public screen.

    Do not apply this function to a screen if your program
    isn't the screen's "owner", in particular, don't call
    this function for the Workbench screen.

INPUTS
    screen = pointer to public screen
    StatusFlags = values currently:
      PSNF_PRIVATE: make this screen unavailable to visitor windows

RESULT
    Returns 0 in the lowest order bit of the return value
    if the screen wasn't public, or because it can not be taken
    private because visitors are open in it.

    All other bits in the return code are reserved for future
    enhancement.

BUGS

SEE ALSO
    openscreen(), intuition v36 update documentation