ISpNotifyTranslator::GetEventHandle

Microsoft Speech SDK

The Microsoft.com Speech website Microsoft Speech SDK SAPI 5.1

ISpNotifyTranslator::GetEventHandle

ISpNotifyTranslator::GetEventHandle returns the Win32 event handle associated with the translator.
Returns the Win32 event object handle initialized by InitWin32Event on this ISpNotifyTranslator instance. This method is applicable only with objects using Win32 events.

The handle is not a duplicated handle and should not be closed by the caller.


HANDLE   GetEventHandle   ( void );

Parameters

None

Return values

Value Description
handle The handle to the event
INVALID_HANDLE_VALUE Translator has not been properly initialized by calling InitWin32Event().