You are here: C++ API > Classes > dtsSearchJob Structure > dtsSearchJob::resultsHandle Data Member
Close
dtSearch Text Retrieval Engine Programmer's Reference
dtsSearchJob::resultsHandle Data Member
Syntax
C++
void * resultsHandle;

Handle of a dtsSearchResults to store the results of this search. To obtain a handle, declare a dtsSearchResults object and call its getHandle() method. After the search, you can use the dtsSearchResults object to access the results of the search.

dtsSearchResults searchResults; dtsSearchJob searchJob; // ... set up searchJob ... searchJob.resultsHandle = searchResults.getHandle(); short errorFlag; dtssDoSearchJob(searchJob, errorFlag); // .. now searchResults contains the results of the search