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

DupDiskObjectA

Duplicate an icon

Declaration

Source position: icon.pas line 235

function DupDiskObjectA(

  const Icon: PDiskObject;

  const Tags: PTagItem

):PDiskObject;

Arguments

Icon

  

Pointer to the icon to be duplicated.

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