Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

Microsoft Speech Platform

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.

<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>HANDLE GetEventHandle ( void );</strong> </pre>

Parameters

Return Values

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