Unit 'agraphics' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#morphunits]

AttemptLockLayerRom

Attempt to Lock Layer structure by ROM(gfx lib) code

Declaration

Source position: agraphics.pas line 2087

function AttemptLockLayerRom(

  Layer: PLayer

):LongBool;

Function result

True or False depending on whether the Layer was successfully locked by the caller.

Description

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.

See also

LockLayerRom

  

Lock Layer structure by ROM(gfx lib) code.

UnlockLayerRom

  

Unlock Layer structure by ROM(gfx lib) code.


Documentation generated on: 2021-07-30