[Contents] [Index] [Help] [Retrace] [browse <] [Browse >]


NAME
    PutDefDiskObject - write disk object as the default for its type.
                       (V36)

SYNOPSIS
    status = PutDefDiskObject(diskobj)
      D0                        A0

    BOOL PutDefDiskObject(struct diskobject *);

FUNCTION
    This routine writes out a diskobject structure, and its
    associated information.  If the call fails, a zero 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.

INPUTS
    diskobj -- a pointer to a diskobject

RESULTS
    status -- TRUE if the call succeeded else FALSE

SEE ALSO
    getdefdiskobject

BUGS
    None