Share via


ISpNotifySource::GetNotifyEventHandle (SAPI 5.4)

Microsoft Speech API 5.4

ISpNotifySource::GetNotifyEventHandle

ISpNotifySource::GetNotifyEventHandle retrieves the Win32 event object handle. This event can be used in any of the Win32 WaitForxxx methods.

  
    HANDLE   GetNotifyEventHandle  ( void );

Parameters

None

Return values

Value
Win32 event handle
INVALID_HANDLE_VALUE

Remarks

Do 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.