Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

The StartFindmethod is called by the Find application to start a search.

Syntax

HRESULT StartFind (
  FINDITEMATTRIBUTES * 
pfiaFilter,
  DWORD 
grfifFlags
);

Parameters

pfiaFilter

[in] Reference to a FINDITEMATTRIBUTESstructure.

grfifFlags

[in] Flags.

Return Value

This method should return S_OKif it was successful or appropriate errors if not.

Remarks

The pfiaFilterparameter specifies parameters with which to filter the find. The pfiaFilter-> grfiamMaskspecifies which fields of pfiaFilterare active. Currently, the only filters that are implemented are FIAM_TEXTand FIAM_SCOPE. The text to search for is pfiaFilter-> pszFindText.

Requirements

Header findext.h
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Pocket PC 2000 and later

See Also