a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 icon.library
  AddFreeList
  BumpRevision
  ChangeToSelectedIconColor
  DeleteDiskObject
  DrawIconStateA
  DupDiskObjectA
  FindToolType
  FreeDiskObject
  FreeFreeList
  GetDefDiskObject
  GetDiskObject
  GetDiskObjectNew
  GetIconRectangleA
  GetIconTagList
  IconControlA
  LayoutIconA
  MatchToolValue
  NewDiskObject
  PutDefDiskObject
  PutDiskObject
  PutIconTagList
Include
GuruMeditation
Docs » Autodocs » icon.library » PutDefDiskObject

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, 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.

INPUTS

	diskobj -- a pointer to a DiskObject

RESULT

	status -- TRUE if the call succeeded else FALSE

SEE ALSO

dos.library/IoErr(), icon.library/GetDefDiskObject(), icon.library/GetIconTagList(), icon.library/PutDiskObject()

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Alpha Flight 1970

SCX
DJ
FLT
AFL

Comments:

$VER: d0.se 1.14 Copyright © 2011-2020 Tobias Geijersson support at d0 dot se