HITRANGE structure (structuredquery.h)

Identifies the range of matching data when query search conditions match indexed data.

Syntax

typedef struct tagHITRANGE {
  ULONG iPosition;
  ULONG cLength;
} HITRANGE;

Members

iPosition

Type: ULONG

The beginning of the hit range.

cLength

Type: ULONG

The length of the hit range.

Remarks

The HITRANGE structure is useful for identifying where a search term matches the content from returned results, and for hit highlighting in user interfaces.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header structuredquery.h