Siliconetics Developer Center 
(609) 7607027
admin@srcsb.com
Untitled Document
SearchSearch:
ClassMethodSearch


DESCRIPTION:
Search for the records that matched the given keyword.

ClassCLASS: CFBSocket

PROTOTYPE(S):
CRecordList* Search(CRecordHnd *phBuff, LPCSTR String, int *pIndexType, int IndexTypeCount, int TextGrp, int TextID, bool Exact = true, bool CreateIndex = true);
CRecordList* Search(CRecordHnd* hBuff, LPCSTR String, int *pIndexType, int IndexTypeCount, int *pTextGrp, int TextGrpCount, int *pTextID, int TextIDCount, bool Exact=true, bool CreateIndex = true);


ARGUMENT(S):
CRecordHnd* phBuffA pointer to a record handler to hold the result.
LPCSTR StringThe search keyword.
int* pIndexTypeA pointer to an array containing record types.
int IndexTypeCountThe number of types in array.
int TextGrpThe text group id to search for.
int TextIDThe text id to search for.
int *pTextGrpA pointer to an array containing text group ids.
int TextGrpCountThe number of the text group ids in array.
int* pTextIDA pointer to an array containing text ids.
int TextIDCountThe number of the text ids in array.
bool ExactSearch exact flag. If the value is true, the system will used exactly comparison while seraching for records.
bool CreateIndexIndex creation flag. The function will forced to create the index list if the existance not found.


RETURN VALUE:
This function returns a pointer to a record list containing tags to all found records. In case of error, this function returns a null pointer.

EXAMPLE:




COMMENT:
Untitled Document
SearchSearch: