void ListReplaceItem (ListType list, const void *pointerToItem, int positionOfItemToReplace);
This function copies the contents of the data item pointed to by pointerToItem over the contents of the item in the list at the specified position.
Input | ||
Name | Type | Description |
list | ListType | The list whose specified item will be replaced. |
pointerToItem | const void * | The pointer to the item which will replace the specified item in the list. |
positionOfItemToReplace | integer | The position of the item to replace. The position may be a number from 1 to the number of items in the list. To replace the first item in a list, the constant FRONT_OF_LIST may be passed. To replace the last item in a list, the constant END_OF_LIST may be passed. |
None.