ihuGetTagNameCacheIndexEx2

Use the ihuGetTagNameCacheIndexEx2 function to find the index of the specified tagname in the cache. You can use the index for fast access in subsequent get property by index calls. This call only queries the API tag cache. It does not access the archiver.

Prototype

ihuGetTagnameCacheIndexEx2 {
Void *TagCacheContext,
MSO Char *Tagname
unsigned int *CacheIndex
};

Remarks

The value returned in CacheIndex is a zero-based index suitable to be passed into the get property by index functions. The index is valid only if the function returns a success error code.

Returns

  • ihuSTATUS_OK
  • ihuSTATUS_INVALID_TAGNAME