[This is preliminary documentation and subject to change.]
Used by IResultOwnerData::FindItem to support keyboard in virtual lists in the result pane.
typedef struct _RESULTFINDINFO
{
LPOLESTR psz;
int nStart;
DWORD dwOptions;
} RESULTFINDINFO;
typedef RESULTFINDINFO __RPC_FAR *LPRESULTFINDINFO;
Value | Meaning |
---|---|
RFI_PARTIAL | Match any name that begins with psz. |
RFI_WRAP | Continue search at beginning if no match is found. |
With virtual lists, also known as owner data, only the data's owner knows what is in the list. Because of this, the control itself cannot do keyboard navigation. To support keyboard navigation, the list control calls the snap-in, passing this structure, which specifies the type of match it is looking for, that is, it passes the string to match and an index of the item to start the search on. It also passes two search option flags, which by default are always set.