Unit 'AmigaDOS' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#morphunits]

GetSegListAttr

Query seglist for attributes, such as the ObjData ptr.

Declaration

Source position: amigados.pas line 2301

function GetSegListAttr(

  SegList: LongInt;

  Attr: LongInt;

  Storage: Pointer;

  StorageSize: LongInt

):LongInt;

Arguments

SegList

  

SegList BPTR

Attr

  

attribute to get information about

Storage

  

storage to hold the result

StorageSize

  

size of the storage

Function result

Success/failure indication

Description

In case of a failure, IoErr() gives more information about the failure:

ERROR_ACTION_NOT_KNOWN
the packet is not supported
ERROR_BAD_NUMBER
the attribute is not known
ERROR_LINE_TOO_LONG
the result doesn't fit the provided StorageSize.

Documentation generated on: 2021-07-30