Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
7f1df4b2
Commit
7f1df4b2
authored
Apr 25, 2023
by
Shaun Ren
Committed by
Alexandre Julliard
Apr 26, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add ISpTTSEngineSite and ISpTTSEngine interfaces.
parent
5f977d2f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
63 additions
and
0 deletions
+63
-0
sapiddk.idl
include/sapiddk.idl
+63
-0
No files found.
include/sapiddk.idl
View file @
7f1df4b2
...
...
@@ -49,6 +49,69 @@ interface ISpObjectTokenEnumBuilder : IEnumSpObjectTokens
HRESULT
Sort
(
[
in
]
LPCWSTR
pszTokenIdToListFirst
)
;
}
typedef
enum
SPVSKIPTYPE
{
SPVST_SENTENCE
=
(
1L
<<
0
)
}
SPVSKIPTYPE
;
typedef
enum
SPVESACTIONS
{
SPVES_CONTINUE
=
0
,
SPVES_ABORT
=
(
1L
<<
0
),
SPVES_SKIP
=
(
1L
<<
1
),
SPVES_RATE
=
(
1L
<<
2
),
SPVES_VOLUME
=
(
1L
<<
3
)
}
SPVESACTIONS
;
[
object
,
uuid
(
9880499b
-
cce9
-
11
d2
-
b503
-
00
c04f797396
),
helpstring
(
"ISpTTSEngineSite"
),
pointer_default
(
unique
),
local
]
interface
ISpTTSEngineSite
:
ISpEventSink
{
HRESULT
GetActions
()
;
HRESULT
Write
(
[
in
]
const
void
*
pBuff
,
[
in
]
ULONG
cb
,
[
out
]
ULONG
*
pcbWritten
)
;
HRESULT
GetRate
(
[
out
]
long
*
pRateAdjust
)
;
HRESULT
GetVolume
(
[
out
]
USHORT
*
pusVolume
)
;
HRESULT
GetSkipInfo
(
[
out
]
SPVSKIPTYPE
*
peType
,
[
out
]
long
*
plNumItems
)
;
HRESULT
CompleteSkip
(
[
in
]
long
lNumSkipped
)
;
}
;
typedef
struct
SPVTEXTFRAG
{
struct
SPVTEXTFRAG
*
pNext
;
SPVSTATE
State
;
LPCWSTR
pTextStart
;
ULONG
ulTextLen
;
ULONG
ulTextSrcOffset
;
}
SPVTEXTFRAG
;
[
object
,
uuid
(
a74d7c8e
-
4
cc5
-
4
f2f
-
a6eb
-
804
dee18500e
),
helpstring
(
"ISpTTSEngine"
),
pointer_default
(
unique
),
local
]
interface
ISpTTSEngine
:
IUnknown
{
HRESULT
Speak
(
[
in
]
DWORD
dwSpeakFlags
,
[
in
]
REFGUID
rguidFormatId
,
[
in
]
const
WAVEFORMATEX
*
pWaveFormatEx
,
[
in
]
const
SPVTEXTFRAG
*
pTextFragList
,
[
in
]
ISpTTSEngineSite
*
pOutputSite
)
;
HRESULT
GetOutputFormat
(
[
in
]
const
GUID
*
pTargetFmtId
,
[
in
]
const
WAVEFORMATEX
*
pTargetWaveFormatEx
,
[
out
]
GUID
*
pOutputFormatId
,
[
out
]
WAVEFORMATEX
**
ppCoMemOutputWaveFormatEx
)
;
}
;
[
helpstring
(
"Speech Object DDK Library"
),
uuid
(
9903
f14c
-
12
ce
-
4
c99
-
9986
-
2
ee3d7d588a8
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment