You are here: C++ API > Classes > dtsDataSource Structure > dtsDataSource::getCurrentDoc Data Member
Close
dtSearch Text Retrieval Engine Programmer's Reference
dtsDataSource::getCurrentDoc Data Member
Syntax
C++
int (* getCurrentDoc)(void *pData, dtsInputStream& dest);
Parameters
Description
pData
The value of dtsDataSource.pData
dest
Structure to receive the dtsInputStream for the document

0 on success, or -1 if the document could not be accessed.

Get the document whose properties were just returned by getNextDocInfo or getDocInfoByName

Copyright (c) 1995-2025 dtSearch Corp. All rights reserved.