BltIx4GetLast


< Prev  TOC  Next >

TBLT_RETC TBLT_ENTRY BltIx4GetLast(TBLT_KH *khPtr,
                                   VOID *keyBufferPtr,
                                   ULONG *recNoPtr,
                                   VOID *recordPtr);


 khPtr          I:index file control structure
 keyBufferPtr   O:the last key
 recNoPtr       O:recNo of record data of last key
 recordPtr      O:record data of last key

This routine gets the last key and its recNo and its data record.

If the TBLT_DH.flags bit FLAGS_SKIP_DELETED_BIT, of khPtr->xbLinkPtr->flags, is set, this routine skips over all data records marked with a * (star) in the delete tag field (the first byte of the data record).

Return: Non-zero indicates an error, otherwise the last key/recNo/recordPtr is returned.


All content Copyright © 1999 Cornel Huth. All rights reserved.