PageRenderTime 43ms CodeModel.GetById 36ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 1ms

/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
11import "oaidl.idl";
12import "ocidl.idl";
13import "sapiddk.idl";
14
15//=== Forward References ======================================================
16
17//=== Constants ===============================================================
18
19//=== Interface definitions ===================================================
20typedef struct VOICEITEM
21{
22    LPCWSTR pText;
23    ULONG   ulTextLen;
24    ULONG   ulNumAudioBytes;
25    BYTE*   pAudio;
26} VOICEITEM;
27
28
29//=== CoClass definitions =====================================================
30[
31	uuid(7192AA2F-F759-43e9-91E7-226371EF6B2F),
32	version(1.0),
33	helpstring("Simple TTS Engine 1.0 Type Library")
34]
35library SAMPLETTSENGLib
36{
37	importlib("stdole32.tlb");
38	importlib("stdole2.tlb");
39
40	[
41		uuid(BE985C8D-BE32-4A22-AA93-55C16A6D1D91),
42//		uuid(A832755E-9C2A-40b4-89B2-3A92EE705852),
43		helpstring("SampleTTSEngine Class")
44	]
45	coclass SampleTTSEngine
46	{
47		[default] interface ISpTTSEngine;
48        interface ISpObjectWithToken;
49	};
50};