Close
dtSearch Text Retrieval Engine Programmer's Reference
dtsDataSource::rewind Data Member
Syntax
C++
int (* rewind)(void *pData);
Parameters
Description
pData
The value of dtsDataSource.pData

0 if the data source was succesfully initialized, or -1 if initialization failed.

Pointer to a function that will initialize the dtsDataSource so the next getNextDoc call will return the first document. The rewind function should return 0 if the data source was succesfully initialized, or -1 if initialization failed. If rewind returns -1, nothing will be indexed from the data source.