ISpNotifyTranslator::Wait (Windows Embedded CE 6.0)
1/6/2010
This method 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 to objects using Win32 events.
Syntax
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 Value
The following table shows the possible return values.
Value | Description |
---|---|
S_OK |
Function completed successfully. |
S_FALSE |
The event was not set and the call was timed out. |
SPERR_UNINITIALIZED |
InitWin32Event did not return successfully or has not been called. |
Requirements
Header | sapi.h, sapi.idl |
Library | sapilib.lib |
Windows Embedded CE | Windows CE .NET 4.1 and later |