Function : Text List Manipulation

ListGetNumEntries - Returns the number of entries in a text list.
----------------------------------------------------------------------------------------------------------

#include <textlist.h>

WORD LNPUBLIC ListGetNumEntries(
void far *vList,
BOOL NoteItem);

Description :

This function takes the list pointer and a data type prefix flag. It returns the number of entries in the text list. The number returned can be used as the entry number argument to the ListAddEntry function to insure the appropriate entry number is provided to that function call.

Parameters :

Sample Usage :


  if(error_status = ListAddEntry(list_handle, prefix_flag,&list_size,
                              ListGetNumEntries(list_ptr,prefix_flag),
                              STRING2, strlen(STRING2)))
       goto Exit;


See Also :

ListAddEntry
----------------------------------------------------------------------------------------------------------