杨坤女朋友白雪的照片:MicrophoneSetup和VoiceTraining的调用
来源:百度文库 编辑:杭州交通信息网 时间:2024/04/29 04:05:01
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调用或将它转换啊