Searches for text in the given range. Positions the start and end points of the range to encompass the search string.
Syntax
HRESULT findText( BSTR String, long count, long Flags, VARIANT_BOOL *Success );
Parameters
- String
- String that specifies the text to find.
- count
- Long integer that receives the count.
- Flags
- Long integer that receives the search flags.
- Success
- Address of a variable that receives TRUE if the text is found, or FALSE if not.
Return Value
Returns S_OK if successful, or an error code otherwise.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0