FindNamedItem

Finds an item by name.

Synopsis

Item FindNamedItem( int32 ctype, const char *name )

Description

This procedure finds an item of the specified type whose name matches the name argument. The search is not case-sensitive (that is, the kernel does not distinguish uppercase and lowercase letters in item names).

Arguments

ctype
The type of the item to find. Use MkNodeID() to create this value.
name
The name of the item to find.

Return Value

The procedure returns the number of the item that was found. It returns 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

See Also

FindItem(), FindVersionedItem()