Share via


ISpNotifyTranslator::Wait (Windows CE 5.0)

Send Feedback

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.

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

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

OS Versions: Windows CE .NET 4.1 and later.
Header: Sapi.h, Sapi.idl.
Link Library: Sapilib.lib.

See Also

ISpNotifyTranslator | SAPI Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.