You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
520 B

1 month ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Runtime.InteropServices;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace ShenTun.Speech.Instance
  8. {
  9. public class WinApi
  10. {
  11. [DllImport(@"SpeechClient.dll")]
  12. public static extern int SendSpeechText(string stext, int iRepatPlayNum, int iDelay);
  13. [DllImport(@"SpeechClient.dll")]
  14. public static extern int IniSpeechConnect(string address, long ip, string cDBServer, string DataBase);
  15. }
  16. }