/native/external/espeak/platforms/windows/windows_sapi/ttseng.idl

http://eyes-free.googlecode.com/ · IDL · 50 lines · 29 code · 6 blank · 15 comment · 0 complexity · af82f7c62b0d943f47d501c693ffc2f8 MD5 · raw file

  1. /*****************************************************************************
  2. * TtsEng.idl *
  3. *------------*
  4. * Description:
  5. * This idl file is for the sample SAPI5 Text To Speech Engine.
  6. *-----------------------------------------------------------------------------
  7. * Creation: 09/17/99
  8. * Copyright (c) Microsoft Corporation. All rights reserved.
  9. *****************************************************************************/
  10. //--- Import base idl
  11. import "oaidl.idl";
  12. import "ocidl.idl";
  13. import "sapiddk.idl";
  14. //=== Forward References ======================================================
  15. //=== Constants ===============================================================
  16. //=== Interface definitions ===================================================
  17. typedef struct VOICEITEM
  18. {
  19. LPCWSTR pText;
  20. ULONG ulTextLen;
  21. ULONG ulNumAudioBytes;
  22. BYTE* pAudio;
  23. } VOICEITEM;
  24. //=== CoClass definitions =====================================================
  25. [
  26. uuid(7192AA2F-F759-43e9-91E7-226371EF6B2F),
  27. version(1.0),
  28. helpstring("Simple TTS Engine 1.0 Type Library")
  29. ]
  30. library SAMPLETTSENGLib
  31. {
  32. importlib("stdole32.tlb");
  33. importlib("stdole2.tlb");
  34. [
  35. uuid(BE985C8D-BE32-4A22-AA93-55C16A6D1D91),
  36. // uuid(A832755E-9C2A-40b4-89B2-3A92EE705852),
  37. helpstring("SampleTTSEngine Class")
  38. ]
  39. coclass SampleTTSEngine
  40. {
  41. [default] interface ISpTTSEngine;
  42. interface ISpObjectWithToken;
  43. };
  44. };