API int
LQT_ObtainReadOnlyAccess
(db)
t_LQTEXT_Database *db;
Purpose
Obtains read-only access to the current database. This is called automatically by LQT_OpenDatabase if appropriate. If the database was previously open for writing, it should be closed first with LQT_CloseDatabase or LQT_SyncDatabase.Returns
- zero on success
- -1 on failure or error