Close
dtSearch Text Retrieval Engine Programmer's Reference
dtsStringHandle Type

Handle to a string

File: dtsearch.h

Syntax
C++
typedef void * dtsStringHandle;

dtsStringHandles are used to return variable-length string values from certain dtSearch Engine API functions. To obtain the text of the string,

  1. Use dtssStringGetLength to get the length of the string,
  2. Allocate a buffer large enough for the string, plus a terminating null,
  3. Call dtssStringGetText to obtain the text of the string, and
  4. Call dtssStringDelete to free the memory that was allocated for the string.