Searches for specified text, from the current pointer's position to another pointer's position.
Syntax
HRESULT FindText( OLECHAR *pchFindText, DWORD dwFlags, IMarkupPointer *pIEndMatch, IMarkupPointer *pIEndSearch );
Parameters
- pchFindText
- Address of an OLECHAR structure that specifies the byte string to find.
- dwFlags
- Reserved; must be zero.
- pIEndMatch
- Address of an IMarkupPointer interface that specifies the end point of the match operation.
- pIEndSearch
- Address of an IMarkupPointer interface that specifies the end point of the search.
Return Value
Returns S_OK if successful, or an error code otherwise.