Function : Text List Manipulation

ListRemoveEntry - Remove an entry from a text list.
----------------------------------------------------------------------------------------------------------

#include <textlist.h>

STATUS LNPUBLIC ListRemoveEntry(
DHANDLE hList,
BOOL fPrefixDataType,
WORD far *pListSize,
WORD EntryNumber);

Description :

This function removes the requested entry from a text list created by ListAllocate. During the removal process, the Domino memory object containing the list is re-allocated and reduced in size by an amount corresponding the length of the text entry and its related header overhead. If you had previously locked the list handle to obtain a pointer to the text list, be aware that this pointer may no longer valid after calling ListRemoveEntry(). You must unlock the list handle and then re-lock the list handle after the call to ListRemoveEntry(), if you need to reference the pointer to the text list.

This function can not be used to decrease the size of a text list item that is already part of a note, as the value_blockid.pool member is not the equivalent of an hList.

Parameters :

Sample Usage :


  if (error_status = ListRemoveEntry (list_handle, prefix_flag,
                                   &list_size, SECOND_ENTRY))
      goto Exit;


See Also :

ListAllocate
----------------------------------------------------------------------------------------------------------