ISpNotifyTranslator::Wait (SAPI 5.3)

Microsoft Speech API 5.3

ISpNotifyTranslator::Wait

ISpNotifyTranslator::Wait is a blocking call that returns when a SAPI notification has fired and the associated Win32 event object has been signaled or a timeout has passed. This method is applicable only with objects using Win32 events.

  
    HRESULT Wait(
   DWORD   dwMilliseconds
);

Parameters

  • dwMilliseconds
    [in] Number of milliseconds for the timeout on a blocking call. If set to INFINITE, there is no timeout.

Return values

Value
S_OK
S_FALSE
SPERR_UNINITIALIZED