Unit 'icon' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#aros]

GetDefDiskObject

Read default wb disk object from disk.

Declaration

Source position: icon.pas line 227

function GetDefDiskObject(

  Typ: LongInt

):PDiskObject;

Arguments

Typ

  

Default icon type (Workbench.WBDISK thru Workbench.WBKICK see links).

Function result

The default Workbench disk object in question

Description

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.

See also

IoErr()

  

Return extra information from the system

PutDefDiskObject

  

Write disk object as the default for its type.

PutIconTagList

  

Store an icon

WBDISK

  

Type of Icon: Disk

WBDRAWER

  

Type of Icon: Drawer/Folder

WBTOOL

  

Type of Icon: Tool (Excutable)

WBPROJECT

  

Type of Icon: Project (Data file)

WBGARBAGE

  

Type of Icon: Trashcan

WBDEVICE

  

Type of Icon: Device

WBKICK

  

Type of Icon: KickStart disk

WBAPPICON

  

Type of Icon: AppIcon


Documentation generated on: 2021-07-30