InsertCollectionItem method


Syntax

Invoke InsertCollectionItem, hHandle, lIndex, lpszString

Function

Inserts a new item (string) into a collection.

Parameters

hHandle

Handle to the collection.

lItem

The zero-based index of the position at which to insert the item.

lpszString

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

Return value

Eax returns the zero-based index of the added string in the collection.