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

FreeDiskObject

Free all memory in a Workbench disk object.

Declaration

Source position: icon.pas line 236

procedure FreeDiskObject(

  DiskObj: PDiskObject

);

Arguments

DiskObj

  

A pointer to a DiskObject structure to free. Nil is allowed and does nothing.

Description

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().

See also

GetDiskObject

  

Read in a Workbench disk object from disk.

PutDiskObject

  

Write out a DiskObject to disk.

DeleteDiskObject

  

Delete a Workbench disk object from disk.

FreeFreeList

  

Free all memory in a free list.

GetIconTagList

  

Retrieve an icon

PutIconTagList

  

Store an icon


Documentation generated on: 2021-07-30