DRT_MATCH_TYPE enumeration (drt.h)

The DRT_MATCH_TYPE enumeration defines the exactness of a search result returned by DrtGetSearchResult after initiating a search with the DrtStartSearch API.

Syntax

typedef enum drt_match_type_tag {
  DRT_MATCH_EXACT = 0,
  DRT_MATCH_NEAR = 1,
  DRT_MATCH_INTERMEDIATE = 2
} DRT_MATCH_TYPE;

Constants

 
DRT_MATCH_EXACT
Value: 0
The node found is publishing the target key or is publishing a key within the specified range.
DRT_MATCH_NEAR
Value: 1
The node found is publishing the numerically closest key to the specified target key.
DRT_MATCH_INTERMEDIATE
Value: 2
The node returned is an intermediate node. An application will receive this node match type if fIterative is set to TRUE.

Requirements

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

See also

DrtGetSearchResult

DrtStartSearch