ɶAPIZDSRAPIɶṩһӿڡ

32λӿ ZDSRAPI.dll;
64λӿ ZDSRAPI_x64.dll;
ûԶļ ZDSRAPI.ini
ӦóѽӿdlliniļԼӦĿ¼µüɻعܡ
ZDSRAPI.iniĲ趨ȼڳ


ƣ ɶAPI(ZDSRAPI)
汾 1

 ûɽԼĳϢ͵ɶʶ.

1.ʼӿ
int WINAPI InitTTS(int type, const WCHAR* channelName, BOOL bKeyDownInterrupt)
:
	[in] int type: 0 ͨ; 1 ͨ
	[in] const WCHAR* channelName: typeΪ0ʱ,NULL; typeΪ1ʱ:ͨ, NULLַʱ,ʹĬ"API"
	[in] BOOL bKeyDownInterrupt: TRUE ; FALSE 

ֵ:
    0:ɹ
    1:汾ƥ

2.ʶı
int WINAPI Speak(const WCHAR* text, BOOL bInterrupt)
:
    [in] const WCHAR* text:   Ҫʶı,Unicode
	[in] BOOL bInterrupt:   	TRUE:Ŷ,̴ʶ, FALSE:ȴʱʶ
ֵ:
	0:	ɹ
	1:	汾ƥ
	2:	ZDSRûлûȨ

3.ȡʶ״̬
int WINAPI GetSpeakState()
ֵ:
	1:	汾ƥ
	2:	ZDSRûлûȨ
    3:	ʶ
    4:	ûʶ

4.ֹͣʶ
void WINAPI StopSpeak()
ֵ: void