<!DOCTYPE File PUBLIC "-//Liam Quin//DTD C API Documentation v1.1//EN" "doc.dtd"><File>
<Entry dir="liblqtext">
<Function File="../../src/liblqtext/wordinfo.c">
<Name>LQT_WIDToWordInfo</Name>
<Class>Database/Retrieval, Database/Words
<Purpose>
Returns the in-memory WordInfo structure for a given WID.
<Returns>
<LIST>
<LI>t_WordInfo * on success;
<LI>NULL on failure, or if th given WID argument was zero.
</LIST>
<Errors>
Warns if a database format error is detected.
<SeeAlso>
LQT_WordToWID
</Function>
<Decl>
API t_WordInfo *
LQT_WIDToWordInfo(db, WID)
    t_LQTEXT_Database *db;
    t_WID WID;
</Decl>
</Entry>
