(C) 1998 AROS - The Amiga Research OS


NAME
#include <intuition/screens.h>
#include <proto/intuition.h>

LONG GetScreenData (buffer , size , type , screen)

LOCATION
In IntuitionBase at offset 71

SYNOPSIS
APTR buffer
ULONG size
ULONG type
struct Screen * screen

FUNCTION
Copy part or all infos about a screen into a private buffer.

To copy the Workbench, one would call

GetScreenData (buffer, sizeof(struct Screen), WBENCHSCREEN, NULL)

If the screen is not open, this call will open it. You can use this function for these purposes:

1) Get information about the workbench in order to open a window on it (eg. size). 2) Clone a screen.

INPUTS
buffer
The data gets copied here
size
The size of the buffer in bytes
type
The type of the screen as in OpenWindow().
screen
Ignored unless type is CUSTOMSCREEN.

RESULT
TRUE if successful, FALSE if the screen could not be opened.

EXAMPLE

SEE ALSO

NOTES

BUGS

INTERNALS

HISTORY