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
58087358
Commit
58087358
authored
Feb 16, 2024
by
Shaun Ren
Committed by
Alexandre Julliard
Feb 20, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sapi: Implement ISpeechVoice::GetTypeInfoCount.
parent
62aec031
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
tts.c
dlls/sapi/tests/tts.c
+6
-0
tts.c
dlls/sapi/tts.c
+4
-4
No files found.
dlls/sapi/tests/tts.c
View file @
58087358
...
...
@@ -435,6 +435,7 @@ static void test_spvoice(void)
ISpeechObjectTokens
*
speech_tokens
;
LONG
count
;
BSTR
req
=
NULL
,
opt
=
NULL
;
UINT
info_count
;
HRESULT
hr
;
if
(
waveOutGetNumDevs
()
==
0
)
{
...
...
@@ -713,6 +714,11 @@ static void test_spvoice(void)
hr
=
ISpeechVoice_Speak
(
speech_voice
,
NULL
,
SVSFPurgeBeforeSpeak
,
NULL
);
ok
(
hr
==
S_OK
,
"got %#lx.
\n
"
,
hr
);
info_count
=
0xdeadbeef
;
hr
=
ISpeechVoice_GetTypeInfoCount
(
speech_voice
,
&
info_count
);
ok
(
hr
==
S_OK
,
"got %#lx.
\n
"
,
hr
);
ok
(
info_count
==
1
,
"got %u.
\n
"
,
info_count
);
ISpeechVoice_Release
(
speech_voice
);
done:
...
...
dlls/sapi/tts.c
View file @
58087358
...
...
@@ -179,11 +179,11 @@ static ULONG WINAPI speech_voice_Release(ISpeechVoice *iface)
return
ref
;
}
static
HRESULT
WINAPI
speech_voice_GetTypeInfoCount
(
ISpeechVoice
*
iface
,
UINT
*
info
)
static
HRESULT
WINAPI
speech_voice_GetTypeInfoCount
(
ISpeechVoice
*
iface
,
UINT
*
count
)
{
FIXME
(
"(%p, %p): stub.
\n
"
,
iface
,
info
);
return
E_NOTIMPL
;
TRACE
(
"(%p, %p).
\n
"
,
iface
,
count
);
*
count
=
1
;
return
S_OK
;
}
static
HRESULT
WINAPI
speech_voice_GetTypeInfo
(
ISpeechVoice
*
iface
,
UINT
info
,
LCID
lcid
,
...
...
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