ISpNotifySource::GetNotifyEventHandle (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

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

ValueDescription
Win32 event handleInitialized by SetNotifyWin32Event on this instance.
INVALID_HANDLE_VALUEInterface not initialized.

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.

Show: