埠音是什么:MicrophoneSetup和VoiceTraining的调用
来源:百度文库 编辑:神马品牌网 时间:2024/04/29 19:30:50
HRESULT CSpeechRecognition::MicrophoneSetup(HWND hWndParent)
{
return m_cpRecoEngine->DisplayUI(hWndParent, NULL, SPDUI_MicTraining,
NULL, 0);
}
---------------------------------------------------------------
HRESULT CSpeechRecognition::VoiceTraining(HWND hWndParent)
{
return m_cpRecoEngine->DisplayUI(hWndParent, NULL, SPDUI_UserTraining,
NULL, 0);
}
以上是VC的调用,如何用VB调用或将它转换啊
{
return m_cpRecoEngine->DisplayUI(hWndParent, NULL, SPDUI_MicTraining,
NULL, 0);
}
---------------------------------------------------------------
HRESULT CSpeechRecognition::VoiceTraining(HWND hWndParent)
{
return m_cpRecoEngine->DisplayUI(hWndParent, NULL, SPDUI_UserTraining,
NULL, 0);
}
以上是VC的调用,如何用VB调用或将它转换啊