Sign in Join
FPDoc Onlineexperiment

TResourceCollection.GetItem function

Member of TResourceCollectionIn unit Objects

Read an item from the stream.

Declaration

pascal
function GetItem(var S: TStream): Pointer; virtual

Description

GetItem reads a resource item from the stream S. It reads the position, size and name from the stream, in that order. It DOES NOT read the resource itself from the stream.

The resulting item is not inserted in the collection. This call is manly for internal use by the Load method.

Errors

Errors returned are those by Read

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.