ListReplaceItems
void ListReplaceItems (ListType list, const void *pointerToItems, ssize_t positionOfItemsToReplace, ssize_t 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 | ssize_t | The position of the items to replace. The position can be a number from 1 to the number of items in the list. Positions in the list are one-based. To replace items starting at the first item in a list, pass -1 or the constant FRONT_OF_LIST. To replace the last item in a list, pass 0 or the constant END_OF_LIST. |
numberOfItemsToReplace | ssize_t | Specifies the number of items to replace in the list. |
Return Value
None.
Additional Information
Library: Programmer's Toolbox
Include file: toolbox\toolbox.h
LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later