IVDctAttributes::TimeOutGet

HRESULT TimeOutGet(DWORD *pdwIncomplete, DWORD *pdwComplete);

Retrieves the current time-out values for a speech-recognition engine.

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

E_INVALIDARG
E_OUTOFMEMORY
SRERR_NOTSUPPORTED
SRERR_VALUEOUTOFRANGE

pdwIncomplete

[out] Address of a variable that receives the number of milliseconds that the speech-recognition engine waits before discarding an incomplete phrase because the user has stopped speaking. For example, if pdwIncomplete is 2000, a user speaking "Send mail to " could pause for 2 seconds before the engine would assume that the user has stopped speaking the phrase.

pdwComplete

[out] Address of a variable that receives the number of milliseconds that the speech-recognition engine waits before regarding a phrase as complete after the user has stopped speaking. For example, if pdwComplete is 500, a user speaking "Send mail to Fred" would see results 0.5 seconds after finishing the phrase.