Delete a Workbench disk object from disk.
Source position: icon.pas line 353
function DeleteDiskObject( |
const name: pCHAR |
):LongBool; |
const name: RawByteString |
):Boolean; |
name |
|
Name of the icon file without the ".info" |
True if it worked, False if not, check IoErr() for details.
name |
|
Name of the icon file without the ".info" |
This routine will try to delete a Workbench disk object from disk. The name parameter will have ".info" postpended to it, and the icon file of that name will be deleted. If the call fails, it will return False. The reason for the failure may be obtained via IoErr().
This call also updates the Workbench screen if needed.
Using this routine protects you from any future changes to the way icons are stored within the system.
|
Return extra information from the system |
|
|
Write out a DiskObject to disk. |
|
|
Read in a Workbench disk object from disk. |
|
|
Free all memory in a Workbench disk object. |
|
|
Retrieve an icon |
|
|
Store an icon |