Docs » Autodocs » graphics.library » AttemptLockLayerRom
*
AttemptLockLayerRom -- Attempt to Lock Layer structure by ROM(gfx lib) code
gotit = AttemptLockLayerRom( layer ) d0 a5 BOOL AttempLockLayerRom( struct Layer * );
Query the current state of the lock on this Layer. If it is already locked then return FALSE, could not lock. If the Layer was not locked then lock it and return TRUE. This call does not destroy any registers. This call nests so that callers in this chain will not lock themselves out.
layer - pointer to Layer structure
gotit - TRUE or FALSE depending on whether the Layer was successfully locked by the caller.
LockLayerRom(), UnlockLayerRom()
|