Write out a DiskObject to disk.
Source position: icon.pas line 235
function PutDiskObject( |
const Name: PChar; |
const Icon: PDiskObject |
):LongBool; |
Name |
|
Name of the object |
Icon |
|
A pointer to a DiskObject |
This routine writes out a DiskObject structure, and its associated information. The file name of the info file will be the name parameter with ".info" postpended to it. If the call fails, False will be returned. The reason for the failure may be obtained via IoErr().
PutDiskObject() (if successful) notifies Workbench when an icon has been created/modified.
Using this routine protects you from any future changes to the way icons are stored within the system.
Note:
It is recommended that if you wish to copy an icon from one place to another than you use GetDiskObject() and PutDiskObject() and do not copy them directly.
|
Return extra information from the system |
|
|
Delete a Workbench disk object from disk. |
|
|
Free all memory in a Workbench disk object. |
|
|
Read in a Workbench disk object from disk. |
|
|
Retrieve an icon |
|
|
Store an icon |