-
Notifications
You must be signed in to change notification settings - Fork 0
/
ttseng.idl
49 lines (43 loc) · 1.34 KB
/
ttseng.idl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*****************************************************************************
* TtsEng.idl *
*------------*
* Description:
* This idl file is for the sample SAPI5 Text To Speech Engine.
*-----------------------------------------------------------------------------
* Creation: 09/17/99
* Copyright (c) Microsoft Corporation. All rights reserved.
*****************************************************************************/
//--- Import base idl
import "oaidl.idl";
import "ocidl.idl";
import "sapiddk.idl";
//=== Forward References ======================================================
//=== Constants ===============================================================
//=== Interface definitions ===================================================
typedef struct VOICEITEM
{
LPCWSTR pText;
ULONG ulTextLen;
ULONG ulNumAudioBytes;
BYTE* pAudio;
} VOICEITEM;
//=== CoClass definitions =====================================================
[
uuid(AA22D99E-1E88-4960-BB07-CA277F611372),
version(1.0),
helpstring("Sample TTS Engine 1.0 Type Library")
]
library SAMPLETTSENGLib
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(301EDFC4-D65B-4823-A598-450EE4656837),
helpstring("SampleTTSEngine Class")
]
coclass SampleTTSEngine
{
[default] interface ISpTTSEngine;
interface ISpObjectWithToken;
};
};