IVDctText::ResultsGet

HRESULT ResultsGet(DWORD dwStart, DWORD dwNumChars,

DWORD *pdwPhraseStart, DWORD *pdwPhraseNumChars,

PIUNKNOWN *ppIUnkPhraseResults);

This gets the results object for a specific selection so that an application can get more information from it, such as the digital audio. The results objects are documented in the section, "Low-Level Speech Recognition API."

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

E_INVALIDARG
E_OUTOFMEMORY

dwStart

[in] Starting character. The results object will be the left-most one that intersects with the region between dwStart and dwStart+dwNumChars.

dwNumChars

[in] Number of characters to search.

pdwPhraseStart

[out] Filled with the starting character of the results object text.

pdwPhraseNumChars

[out] Filled with the number of character of the results object text.

ppIUnkPhraseResults

[out] Filled in with the IUnkown for the results object, or NULL if no results object exists. The application will be responsible for releasing the object.