Write disk object as the default for its type.
Source position: icon.pas line 361
function PutDefDiskObject( |
const diskObject: pDiskObject |
):LongBool; |
True if the call succeeded else False
This routine writes out a DiskObject structure, and its associated information. If the call fails, False will be returned. The reason for the failure may be obtained via IoErr().
Note that this function calls PutDiskObject() internally which means that this call (if sucessful) notifies workbench than an icon has been created/modified.
Using this routine protects you from any future changes to the way default icons are stored within the system.
|
Return extra information from the system |
|
|
Read default wb disk object from disk. |
|
|
Retrieve an icon |
|
|
Write out a DiskObject to disk. |