Changes the owner of an item.
Err SetItemOwner( Item i, Item newOwner )
This procedure makes another task the owner of an item. A task must be the owner of the item to change its ownership. The item is removed from the current task's resource table and placed in the new owner's resource table.
You normally use this procedure to keep a resource available after the task that created it terminates.
The procedure returns 0 if ownership of the item is changed or an error code if an error occurs.
SWI implemented in kernel folio V20.
This is not implemented for all items that should be able to have their ownership changed.
CreateItem
(), FindItem(), DeleteItem()