Share via


ISpNotifySource::GetNotifyEventHandle (Windows Embedded CE 6.0)

1/6/2010

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.

Syntax

HANDLE GetNotifyEventHandle(void);

Parameters

None.

Return Value

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

Header sapi.h, sapi.idl
Library sapilib.lib
Windows Embedded CE Windows CE .NET 4.1 and later

See Also

Reference

ISpNotifySource
SAPI Interfaces