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

DupDiskObjectA

Duplicate an icon

Declaration

Source position: icon.pas line 246

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