DRT_SEARCH_RESULT structure (drt.h)

The DRT_SEARCH_RESULT contains the registration entry and the type of match of the search result returned by DrtGetSearchResult when the hEvent passed into DrtStartSearch is signaled.

Syntax

typedef struct drt_search_result_tag {
  DWORD            dwSize;
  DRT_MATCH_TYPE   type;
  PVOID            pvContext;
  DRT_REGISTRATION registration;
} DRT_SEARCH_RESULT, *PDRT_SEARCH_RESULT;

Members

dwSize

The size of the DRT_SEARCH_RESULT structure.

type

Specifies the exactness of the search. This member corresponds to the DRT_MATCH_TYPE enumeration.

pvContext

Pointer to the context data passed to the DrtStartSearch API.

registration

Contains the registration result.

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

DRT_MATCH_TYPE

DrtGetSearchResult

DrtStartSearch