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

DupDiskObjectA

Duplicate an icon

Declaration

Source position: icon.pas line 365

function DupDiskObjectA(

  const diskObject: pDiskObject;

  const tags: pTagItem

):pDiskObject;

Arguments

tags

  

Control options. (ICONDUPA_*)

Function result

Pointer to a struct DiskObject or nil in case of error. You can use IoErr() to retrieve the error code or use the ICONA_ErrorCode tag instead.

Description

This function is used to create a duplicate of a DiskObject in memory. It can also be used to create an extended ("native") DiskObject data structure from an existing, traditional format DiskObject data structure.

See also

IoErr()

  

Return extra information from the system


Documentation generated on: 2021-07-30