IResultOwnerData::FindItem

[This is preliminary documentation and subject to change.]

Finds the result item that matches the specified string.

HRESULT FindItem(
  LPRESULTFINDINFO pFindinfo,   // Pointer to RESULTFINDITEM structure
  int pnFoundIndex,             // Pointer to returned index
);
 

Parameters

pFindInfo
[in] Pointer to the RESULTFINDITEM structure.
pnFoundIndex
[out] Pointer to the returned index of found the item, -1 if no items are found.

Return Values

S_OK
The item was found.
S_FALSE
The item was not found.

Remarks

Supports keyboard navigation through the virtual list. FindItem requests the callee to find the next result item whose display name matches the search string and return its index.

See Also

RESULTFINDINFO