IAPI::FindString

property FindString.

Searches for a string or several strings occurrences (separated by a ‘|’ character).

 

HRESULT FindString(
  BSTR srcString,
  BSTR strPattern,
  long *pVal
);

Parameters

 

srcString

[in] .   BSTR where  string occurrence(s) will be searched for.

 

srcPattern

[in] .   BSTR string occurrence(s) for search operation.

The syntax is the same as for Regular Expression Search.

pVal

[out, retval] The returned value is a number of found occurrences.

Return Values

S_OK

The operation was successfull.

E_POINTER

A NULL pointer was supplied as an argument.

E_UNEXPECTED

An unexpected error occoured.

See Also

IAPI