FIND_INFO structure

Contains search context information.

Syntax

typedef struct _FIND_INFO {
  TAGID     tiIndex;
  TAGID     tiCurrent;
  TAGID     tiEndIndex;
  TAG       tName;
  DWORD     dwIndexRec;
  DWORD     dwFlags;
  ULONGLONG ullKey;
  union {
    LPCTSTR szName;
    DWORD   dwName;
    GUID    *pguidName;
  };
} FIND_INFO, *PFIND_INFO;

Members

tiIndex

The TAGID for the index to be searched.

tiCurrent

The TAGID for the current item that was located.

tiEndIndex

The TAGID for the last record after FindFirst if the index is UNIQUE.

tName

The type of the item to be located. See TAG Types.

dwIndexRec

An internal counter used to track where in the index the next find operation should start.

dwFlags

This member can be 0 or SHIMDB_INDEX_UNIQUE_KEY (0x00000001), which indicates that this is a unique-key index.

ullKey

The key for the current entry.

szName

The current string (if the tag type is TAG_TYPE_STRINGREF).

dwName

The current DWORD value (if the tag type is TAG_TYPE_DWORD).

pguidName

The current GUID value (if the tag type is TAG_TYPE_BINARY and the TAG is TAG_DATABASE_ID).

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]

See also

SdbFindFirstDWORDIndexedTag