(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/graphics.h>

BOOL AttemptLockLayerRom (l)

LOCATION
In GfxBase at offset 109

SYNOPSIS
struct Layer * l

FUNCTION
Try to lock the current layer. If it is already locked this function will return FALSE, TRUE otherwise. If the layer could be locked successfully nesting will take place which means that for every successful locking of a layer UnlockLayerRom() has to be called for that layer to let other tasks access that layer.

INPUTS
l
pointer to layer

RESULT
TRUE - layer is successfully locked for the task FALSE - layer could not be locked, it's locked by another task.

EXAMPLE

SEE ALSO
LockLayerRom() UnlockLayerRom(),

NOTES

BUGS

INTERNALS

HISTORY
05.02.1999 bergers
Initial revision.