FindCollectionExactItem method


Syntax

Invoke FindCollectionExactItem, hHandle, lpszString

Function

Finds the first string in a collection that exactly matches the specified string.

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.