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
d71672eb
Commit
d71672eb
authored
Feb 13, 2017
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 13, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
infosoft: Properly return interface pointers.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d618c0fa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
infosoft_main.c
dlls/infosoft/infosoft_main.c
+1
-1
wordbreaker.c
dlls/infosoft/wordbreaker.c
+1
-1
No files found.
dlls/infosoft/infosoft_main.c
View file @
d71672eb
...
@@ -81,7 +81,7 @@ static HRESULT WINAPI infosoftcf_fnQueryInterface ( LPCLASSFACTORY iface,
...
@@ -81,7 +81,7 @@ static HRESULT WINAPI infosoftcf_fnQueryInterface ( LPCLASSFACTORY iface,
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
)
||
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
)
||
IsEqualIID
(
riid
,
&
IID_IClassFactory
))
IsEqualIID
(
riid
,
&
IID_IClassFactory
))
{
{
*
ppvObj
=
This
;
*
ppvObj
=
&
This
->
IClassFactory_iface
;
return
S_OK
;
return
S_OK
;
}
}
...
...
dlls/infosoft/wordbreaker.c
View file @
d71672eb
...
@@ -57,7 +57,7 @@ static HRESULT WINAPI wb_QueryInterface( IWordBreaker *iface,
...
@@ -57,7 +57,7 @@ static HRESULT WINAPI wb_QueryInterface( IWordBreaker *iface,
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
)
||
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
)
||
IsEqualIID
(
riid
,
&
IID_IWordBreaker
))
IsEqualIID
(
riid
,
&
IID_IWordBreaker
))
{
{
*
ppvObj
=
This
;
*
ppvObj
=
&
This
->
IWordBreaker_iface
;
return
S_OK
;
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