File
File: dtsearch.h
Syntax
Group
Parameters
Parameters |
Description |
---|---|
long * pDest |
Buffer to receive the integer data |
long maxItems |
Size of the pDest buffer, in 32-bit integers |
hStr |
Handle to the array |
Returns
Length of the array.
Description
Get the contents of an integer array represented by a dtsStringHandle
Remarks
dtsIntArrayHandles are used to return variable-length integer arrays from certain dtSearch Engine API functions. To obtain the contents of the array:
- Use dtssIntArrayGetLength to get the length of the array,
- Allocate a buffer large enough for the array,
- Call dtssIntArrayGetItems to obtain the contents of the array, and
- Call dtssIntArrayDelete to free the memory that was allocated for the string.