Events
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The ITfSpeechUIServer interface manages the speech-related user interface on the TSF language bar.
The ITfSpeechUIServer interface inherits from the IUnknown interface. ITfSpeechUIServer also has these types of members:
The ITfSpeechUIServer interface has these methods.
ITfSpeechUIServer::Initialize ITfSpeechUIServer::Initialize method |
ITfSpeechUIServer::ShowUI ITfSpeechUIServer::ShowUI method |
ITfSpeechUIServer::UpdateBalloon ITfSpeechUIServer::UpdateBalloon method |
The user interface elements on the TSF language bar managed by this interface include the microphone button, the speech configuration menu button, the dictation button, the command button, and the speech balloon. The standard speech text service usually manages these user interface elements in an application, including initialization. This type of application does not require the ITfSpeechUIServer interface.
An application that does not use the speech text service might require use of the features provided by the speech-related interface elements. In that case, the following code example shows how an application can obtain a pointer to the ITfSpeechUIServer interface by calling the CoCreateInstance function with the CLSID_SpeechUIServer CLSID.
HRESULT hr;
ITfSpeechUIServer* piSpeechUIServer;
hr = CoCreateInstance(CLSID_SpeechUIServer,
NULL,
CLSCTX_INPROC_SERVER,
IID_ITfSpeechUIServer,
(void**)&piSpeechUIServer);
Subsequently, the application can use the ITfSpeechUIServer::Initialize method to initialize the user interface and the other methods of the ITfSpeechUIServer interface to manage the user interface.
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | ctfspui.h (include Ctfutb.h) |
Redistributable | TSF 1.0 on Windows 2000 Professional |
Events
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!