ListGetItems

void ListGetItems (ListType list, void *itemsDestination, int positionOfFirstItemToGet, int numberOfItemsToGet);

Purpose

This function copies the contents of the specified list items to the specified destination. The items remain in the list.

Parameters

Input
Name Type Description
list ListType The list to get the items from.
itemsDestination void * A pointer to where ListGetItem should copy the contents of the specified list items. The contents numberOfItemsToGet items are returned, starting with the item specified by positionOfFirstItemToGet.
positionOfFirstItemToGet integer The position of the first item to be retrieved. The position may be a number from 1 to the number of items in the list.

To start from the first item in the list, the constant FRONT_OF_LIST may be passed.

To get the last item in the list, the constant END_OF_LIST may be passed.
numberOfItemsToGet integer Specifies the number of items to retrieve.

Return Value

None.