Read default wb disk object from disk.
Source position: icon.pas line 241
function GetDefDiskObject( |
Typ: LongInt |
):PDiskObject; |
Typ |
|
Default icon type (Workbench.WBDISK thru Workbench.WBKICK see links). |
The default Workbench disk object in question
This routine reads in a default Workbench disk object from disk. The valid def_types can be found in workbench/workbench.h and currently include WBDISK thru WBKICK. If the call fails, it will return NULL. The reason for the failure may be obtained via IoErr().
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 |
|
|
Write disk object as the default for its type. |
|
|
Store an icon |
|
|
Type of Icon: Disk |
|
|
Type of Icon: Drawer/Folder |
|
|
Type of Icon: Tool (Excutable) |
|
|
Type of Icon: Project (Data file) |
|
|
Type of Icon: Trashcan |
|
|
Type of Icon: Device |
|
|
Type of Icon: KickStart disk |
|
|
Type of Icon: AppIcon |