Links
dtSearch Text Retrieval Engine Programmer's Reference 7.70
dtsViewerInfo::getInfoByIndex Data Member
dtsViewerInfo Structure | dtsViewerInfo Structure | Send Feedback

Pointer to function that will get information about an item in the container, identified by its numerical index.

int (* getInfoByIndex)(dtsViewerHandle handle, long index, dtsContainerItemInfo& info);
Parameters
Parameters 
Description 
handle 
Handle identifying the container 
index 
An integer identifying this item in the container. 
info 
Identifies the item to extract
To support 64-bit containers without changing the function signature, the following convention is used: (1) A container file parser that uses 64-bit values should set the flag viIs64bit in its dtsViewerInfo.flags. (2) For 64-bit bit containers, If index is 0 and info.getIndexInContainer() is non-zero, the container parser should use the 64-bit value returned by info.getIndexInContainer() to locate the item. 
Returns

0 on success, non-zero on failure.

Description

(See dtsContainerItemInfo.indexInContainer.)

Structure
Links
You are here: C++ API > Classes > dtsViewerInfo Structure > dtsViewerInfo::getInfoByIndex Data Member
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.