NAME GetDefDiskObject - read default wb disk object from disk. (V36) SYNOPSIS diskobj = GetDefDiskObject(def_type) D0 D0 struct DiskObject *GetDefDiskObject(LONG); FUNCTION 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. INPUTS def_type -- default icon type (WBDISK thru WBKICK). RESULTS diskobj -- the default Workbench disk object in question NOTES icon.library V36 through V40 did not support the WBDEVICE default icon type. SEE ALSO dos.library/IoErr icon.library/PutDefDiskObject icon.library/PutIconTagList