IVDctText::Hint

HRESULT Hint(PTSTR pszHint);

Gives the speech-recognition engine information about the subcontext in which a document is being used. This calls right into the low-level speech recognition API, ISRGramDictation::Hint, and has the same functionality.

· Returns NOERROR if successful, or one of these error values:

E_INVALIDARG
E_OUTOFMEMORY
SRERR_NOTSUPPORTED

pszHint

[in] Address of a null-terminated string that indicates the kind of text that is being dictated. This parameter can be one of these strings:

String

Description

"Address"

An address

"Date"

A date

"Text"

Free-form text