API unsigned char *
LQT_ReadBlock
(db, Offset, WID)
t_LQTEXT_Database *db;
unsigned long Offset;
t_WID WID;
Purpose
Reads the block at the given byte offset, and returns a pointer to the data. The data is stored in a cache, so it is important not to try and write beyond the end of the block or group of blocks as determined by LQT_ExtendBlock or LQT_FindFreeBlock. The block must be written out with LQT_WriteBlock if it has changed. In addition, the block is not locked in memory, but LQT_ReadBlock ensures that it is safe to read at least one other block before writing this one out with LQT_WriteBlock.Returns
A pointer to the data