FindRecord
DESCRIPTION: Retrieve the required record position. |
CLASS: CFlitBase
PROTOTYPE(S):int FindRecord(int Type, int iD, int StartPos); | int FindRecord(int Type, LPCSTR Text, int TextGrpID, int TextID, int StartPos); |
ARGUMENT(S):int Type | The type of required record. | int ID | The id of required record. | int StartPos | The start position to begin searching. | LPCSTR Text | The text to search for. | int TextGrpID | The text group id to search to. | int TextID | The text id to search to. |
RETURN VALUE: This function returns the found record position in file or -1 in case the requested record was not found.
EXAMPLE:
COMMENT: In case the requested record not found, this function will invoke an overidable virtual function OnNotFound.
SEE ALSO: OnNotFound |
|