Lock the LayerInfo structure.
Source position: layers.pas line 170
procedure LockLayerInfo( |
Li: PLayer_Info |
); |
Li |
|
pointer to Layer_Info structure |
Before doing an operation that requires the LayerInfo structure, make sure that no other task is also using the LayerInfo structure. LockLayerInfo() returns when the LayerInfo belongs to this task. There should be an UnlockLayerInfo for every LockLayerInfo.
Attention
All layer routines presently LockLayerInfo() when they start up and UnlockLayerInfo() as they exit. Programmers will need to use these Lock/Unlock routines if they wish to do something with the LayerStructure that is not supported by the layer library.
|
Unlock the LayerInfo structure. |