ISpNotifySource::SetNotifyWin32Event (Windows CE 5.0)
This method sets up a Win32 event object to be used for notifications. The event handle can be retrieved through the ISpNotifySource::GetNotifyEventHandle method. Once an event object has been initialized, the client uses either the GetNotifyEventHandle method or the ISpNotifySource::WaitForNotifyEvent method, and waits using one of the various Win32 synchronization functions.
Win32 events and SAPI events are different objects. For an explanation of Win32 event objects, see the Win32 Microsoft Windows SDK documentation.
HRESULT SetNotifyWin32Event(void);
Parameters
None.
Return Values
The following table shows the possible return values.
Value | Description |
---|---|
S_OK | Function completed successfully. |
FAILED(hr) | Appropriate error message. |
Requirements
OS Versions: Windows CE .NET 4.1 and later.
Header: Sapi.h, Sapi.idl.
Link Library: Sapilib.lib.
See Also
ISpNotifySource | SAPI Interfaces
Send Feedback on this topic to the authors