Site Tools


documentation:development:opera:pf25:ppgfldr:pgsfldr:spr:01spr061

FindVersionedItem

Finds an item by name and version.

Synopsis

Item FindVersionedItem( int32 ctype, const char *name, uint8 vers, uint8 rev )

Description

This procedure finds an item of a specified type by its name, version number, and revision number. These values are required tag arguments for all items. If all three values match, the procedure returns the item number of the matching item.

Arguments

  • ctype The type of the item to find. Use MkNodeID() to create this value.
  • name The name of the item to find.
  • vers The version number of the item to find.
  • rev The revision number of the item to find.

Return Value

The procedure returns the number of the item that matches or an error code if an error occurs.

Implementation

Convenience call implemented in clib.lib V20.

Associated Files

  • item.h ANSI C Prototype
  • clib.lib ARM Link Library

Caveats

This currently returns a match if the version number and revision number are greater than or equal to the values specified.

See Also

CheckItem(), FindItem(), FindNamedItem(), LookupItem()


documentation/development/opera/pf25/ppgfldr/pgsfldr/spr/01spr061.txt · Last modified: 2022/10/10 16:54 by 127.0.0.1