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
7090d6c2
Commit
7090d6c2
authored
Jun 02, 2022
by
Bernhard Kölbl
Committed by
Alexandre Julliard
Jun 02, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windows.media.speech: Rename variable out to impl in factory_ActivateInstance.
Signed-off-by:
Bernhard Kölbl
<
besentv@gmail.com
>
parent
f5e63aae
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
synthesizer.c
dlls/windows.media.speech/synthesizer.c
+8
-7
No files found.
dlls/windows.media.speech/synthesizer.c
View file @
7090d6c2
...
...
@@ -384,21 +384,22 @@ static HRESULT WINAPI factory_GetTrustLevel( IActivationFactory *iface, TrustLev
static
HRESULT
WINAPI
factory_ActivateInstance
(
IActivationFactory
*
iface
,
IInspectable
**
instance
)
{
struct
synthesizer
*
obj
;
struct
synthesizer
*
impl
;
TRACE
(
"iface %p, instance %p.
\n
"
,
iface
,
instance
);
if
(
!
(
obj
=
calloc
(
1
,
sizeof
(
*
obj
))))
if
(
!
(
impl
=
calloc
(
1
,
sizeof
(
*
impl
))))
{
*
instance
=
NULL
;
return
E_OUTOFMEMORY
;
}
obj
->
ISpeechSynthesizer_iface
.
lpVtbl
=
&
synthesizer_vtbl
;
obj
->
ISpeechSynthesizer2_iface
.
lpVtbl
=
&
synthesizer2_vtbl
;
obj
->
IClosable_iface
.
lpVtbl
=
&
closable_vtbl
;
obj
->
ref
=
1
;
*
instance
=
(
IInspectable
*
)
&
obj
->
ISpeechSynthesizer_iface
;
impl
->
ISpeechSynthesizer_iface
.
lpVtbl
=
&
synthesizer_vtbl
;
impl
->
ISpeechSynthesizer2_iface
.
lpVtbl
=
&
synthesizer2_vtbl
;
impl
->
IClosable_iface
.
lpVtbl
=
&
closable_vtbl
;
impl
->
ref
=
1
;
*
instance
=
(
IInspectable
*
)
&
impl
->
ISpeechSynthesizer_iface
;
return
S_OK
;
}
...
...
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