IInkRecognizerContext::IsStringSupported
4/8/2010
Indicates whether the system dictionary, user dictionary, or word list contain a specified string.
Syntax
HRESULT IsStringSupported (
[in] BSTR s,
[out, retval] VARIANT_BOOL *Supported
);
Parameters
s
The string to look up in the dictionaries and word list.For more information about the BSTR data type, see Using the Automation Library with Windows Mobile Ink.
- Supported
Returns TRUE if the string is in the dictionary or word list; otherwise FALSE.
Return Value
HRESULT value | Description |
---|---|
S_OK |
One of the dictionaries contains the string. |
E_POINTER |
A parameter contained an invalid pointer. |
E_INVALIDARG |
Invalid input string. |
E_INK_EXCEPTION |
An exception occurred while processing. |
E_OUTOFMEMORY |
Cannot allocate memory operation. |
E_UNEXPECTED |
Unexpected parameter or property type. |
Remarks
This method considers all flags and factoid, among other things, that give context to the string that is being tested.
This method does not search the user dictionary if you specify a word list for the context.
Use the IInkRecognizerContext::Factoid property to limit the search to the system dictionary or the word list that is associated with the context.
Requirements
Header | msinkaut.h |
Windows Embedded CE | Windows CE 5.0 and later |
Windows Mobile | Windows Mobile 6 Classic and later, Windows Mobile 6 Professional and later |