Share via


ISpNotifySource::GetNotifyEventHandle

This method gets the Win32 event object handle. This event can be used in any of the Win32 WaitForxxx methods. The client should not close the returned handle, as it is owned by the event source object. Calling this method will automatically initialize the event source to use an event handle if no other notification mechanism has been initialized.

HANDLE GetNotifyEventHandle(void);

Parameters

None.

Return Values

The following table shows the possible return values.

Value Description
Win32 event handle Initialized by SetNotifyWin32Event on an instance of this interface.
INVALID_HANDLE_VALUE Interface not initialized.

Requirements

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

See Also

ISpNotifySource | SAPI Interfaces

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.