| IO | Parameter | Type | Description
|
| in | theCADArea | longint | Area ID
|
| in | theLocking | integer | kCADLockingIgnoreLock
|
| in | theRemoveLayerAction | integer | A layer removal constant
|
| in | theLayerOrSubLayerID | longint | Layer ID or Sublayer ID
|
| out | function result | OSErr | Error result code, also see Error handling
|