FindCollectionItem method


Syntax

Invoke FindCollectionItem, hHandle, lpszString

Function

Finds a string in a collection.

Parameters

hHandle

Handle to the collection.

lpszString

Pointer to the effective address of the null-terminated string to be searched for.

Return value

Eax returns the zero-based index for the item in the collection, or -1 if the string was not found.