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


   NAME
	FreeDiskObject - free all memory in a Workbench disk object.

   SYNOPSIS
	FreeDiskObject(diskobj)
	               A0

	void FreeDiskObject(struct DiskObject *);

   FUNCTION
	This routine frees all memory in a Workbench disk object, and the
	object itself.  It is implemented via FreeFreeList().

	GetDiskObject() takes care of all the initialization required
	to set up the object's free list.  This procedure may ONLY
	be called on a DiskObject allocated via GetDiskObject().

   INPUTS
	diskobj -- a pointer to a DiskObject structure; as of V44,
	    a NULL diskobj pointer will be ignored.

   SEE ALSO
	icon.library/GetDiskObject
	icon.library/PutDiskObject
	icon.library/DeleteDiskObject
	icon.library/FreeFreeList
	icon.library/GetIconTagList
	icon.library/PutIconTagList


[Back to Amiga Developer Docs]