ListReplaceItems

void ListReplaceItems (ListType list, const void *pointerToItems, int positionOfItemsToReplace, int numberOfItemsToReplace);

Purpose

This function copies the contents of the data items pointed to by pointerToItem over the contents of the items in the list starting at the specified position.

Parameters

Input
Name Type Description
list ListType The list whose specified items will be replaced.
pointerToItems const void * The pointer to the array of items which will replace the specified items in the list.
positionOfItemsToReplace integer The position of the items to replace. The position may be a number from 1 to the number of items in the list.

To replace items starting at 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.
numberOfItemsToReplace integer Specifies the number of items to replace in the list.

Return Value

None.