Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
16e73be1
Commit
16e73be1
authored
Sep 17, 2021
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Sep 17, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Fix compiling with C++.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f0bd0fd9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
64 additions
and
63 deletions
+64
-63
sapi.idl
include/sapi.idl
+64
-63
No files found.
include/sapi.idl
View file @
16e73be1
...
...
@@ -517,6 +517,7 @@ interface ISpEventSource;
interface
ISpRecoContext
;
interface
ISpRecognizer
;
interface
ISpStreamFormat
;
interface
ISpVoice
;
[
object
,
...
...
@@ -839,69 +840,6 @@ interface ISpNotifySink : IUnknown
[
object
,
uuid
(
6
c44df74
-
72b9
-
4992
-
a1ec
-
ef996e0422d4
),
pointer_default
(
unique
),
restricted
]
interface
ISpVoice
:
ISpEventSource
{
HRESULT
SetOutput
(
[
in
]
IUnknown
*
unk
,
[
in
]
BOOL
changes
)
;
HRESULT
GetOutputObjectToken
(
[
out
]
ISpObjectToken
**
token
)
;
HRESULT
GetOutputStream
(
[
out
]
ISpStreamFormat
**
stream
)
;
HRESULT
Pause
(
void
)
;
HRESULT
Resume
(
void
)
;
HRESULT
SetVoice
(
[
in
]
ISpObjectToken
*
token
)
;
HRESULT
GetVoice
(
[
out
]
ISpObjectToken
**
token
)
;
HRESULT
Speak
(
[
in
,
string
]
const
WCHAR
*
pwcs
,
[
in
]
DWORD
flags
,
[
out
]
ULONG
*
number
)
;
HRESULT
SpeakStream
(
[
in
]
IStream
*
stream
,
[
in
]
DWORD
flags
,
[
out
]
ULONG
*
number
)
;
HRESULT
GetStatus
(
[
out
]
SPVOICESTATUS
*
status
,
[
out
,
string
]
WCHAR
**
bookmark
)
;
HRESULT
Skip
(
[
in
,
string
]
const
WCHAR
*
type
,
[
in
]
long
items
,
[
out
]
ULONG
*
skipped
)
;
HRESULT
SetPriority
(
[
in
]
SPVPRIORITY
priority
)
;
HRESULT
GetPriority
(
[
out
]
SPVPRIORITY
*
priority
)
;
HRESULT
SetAlertBoundary
(
[
in
]
SPEVENTENUM
boundary
)
;
HRESULT
GetAlertBoundary
(
[
out
]
SPEVENTENUM
*
boundary
)
;
HRESULT
SetRate
(
[
in
]
long
adjust
)
;
HRESULT
GetRate
(
[
out
]
long
*
adjust
)
;
HRESULT
SetVolume
(
[
in
]
USHORT
volume
)
;
HRESULT
GetVolume
(
[
out
]
USHORT
*
volume
)
;
HRESULT
WaitUntilDone
(
[
in
]
ULONG
timeout
)
;
HRESULT
SetSyncSpeakTimeout
(
[
in
]
ULONG
timeout
)
;
HRESULT
GetSyncSpeakTimeout
(
[
out
]
ULONG
*
timeout
)
;
[
local
]
HANDLE
SpeakCompleteEvent
()
;
[
local
]
HRESULT
IsUISupported
(
[
in
]
const
WCHAR
*
type
,
[
in
]
void
*
extra
,
[
in
]
ULONG
count
,
[
out
]
BOOL
*
supported
)
;
[
local
]
HRESULT
DisplayUI
(
[
in
]
HWND
parent
,
[
in
]
const
WCHAR
*
title
,
[
in
]
const
WCHAR
*
type
,
[
in
]
void
*
extra
,
[
in
]
ULONG
count
)
;
}
;
[
object
,
uuid
(
5
eff4aef
-
8487
-
11
d2
-
961
c
-
00
c04f8ee628
),
pointer_default
(
unique
),
restricted
...
...
@@ -984,6 +922,69 @@ interface ISpRecoContext : ISpEventSource
[
object
,
uuid
(
6
c44df74
-
72b9
-
4992
-
a1ec
-
ef996e0422d4
),
pointer_default
(
unique
),
restricted
]
interface
ISpVoice
:
ISpEventSource
{
HRESULT
SetOutput
(
[
in
]
IUnknown
*
unk
,
[
in
]
BOOL
changes
)
;
HRESULT
GetOutputObjectToken
(
[
out
]
ISpObjectToken
**
token
)
;
HRESULT
GetOutputStream
(
[
out
]
ISpStreamFormat
**
stream
)
;
HRESULT
Pause
(
void
)
;
HRESULT
Resume
(
void
)
;
HRESULT
SetVoice
(
[
in
]
ISpObjectToken
*
token
)
;
HRESULT
GetVoice
(
[
out
]
ISpObjectToken
**
token
)
;
HRESULT
Speak
(
[
in
,
string
]
const
WCHAR
*
pwcs
,
[
in
]
DWORD
flags
,
[
out
]
ULONG
*
number
)
;
HRESULT
SpeakStream
(
[
in
]
IStream
*
stream
,
[
in
]
DWORD
flags
,
[
out
]
ULONG
*
number
)
;
HRESULT
GetStatus
(
[
out
]
SPVOICESTATUS
*
status
,
[
out
,
string
]
WCHAR
**
bookmark
)
;
HRESULT
Skip
(
[
in
,
string
]
const
WCHAR
*
type
,
[
in
]
long
items
,
[
out
]
ULONG
*
skipped
)
;
HRESULT
SetPriority
(
[
in
]
SPVPRIORITY
priority
)
;
HRESULT
GetPriority
(
[
out
]
SPVPRIORITY
*
priority
)
;
HRESULT
SetAlertBoundary
(
[
in
]
SPEVENTENUM
boundary
)
;
HRESULT
GetAlertBoundary
(
[
out
]
SPEVENTENUM
*
boundary
)
;
HRESULT
SetRate
(
[
in
]
long
adjust
)
;
HRESULT
GetRate
(
[
out
]
long
*
adjust
)
;
HRESULT
SetVolume
(
[
in
]
USHORT
volume
)
;
HRESULT
GetVolume
(
[
out
]
USHORT
*
volume
)
;
HRESULT
WaitUntilDone
(
[
in
]
ULONG
timeout
)
;
HRESULT
SetSyncSpeakTimeout
(
[
in
]
ULONG
timeout
)
;
HRESULT
GetSyncSpeakTimeout
(
[
out
]
ULONG
*
timeout
)
;
[
local
]
HANDLE
SpeakCompleteEvent
()
;
[
local
]
HRESULT
IsUISupported
(
[
in
]
const
WCHAR
*
type
,
[
in
]
void
*
extra
,
[
in
]
ULONG
count
,
[
out
]
BOOL
*
supported
)
;
[
local
]
HRESULT
DisplayUI
(
[
in
]
HWND
parent
,
[
in
]
const
WCHAR
*
title
,
[
in
]
const
WCHAR
*
type
,
[
in
]
void
*
extra
,
[
in
]
ULONG
count
)
;
}
;
[
object
,
uuid
(
bed530be
-
2606
-
4
f4d
-
a1c0
-
54
c5cda5566f
),
pointer_default
(
unique
),
restricted
...
...
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