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
6c83dd2d
Commit
6c83dd2d
authored
Sep 15, 2015
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Sep 15, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Use correct interface pointer.
parent
47708c26
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
typelib.c
dlls/oleaut32/typelib.c
+4
-4
No files found.
dlls/oleaut32/typelib.c
View file @
6c83dd2d
...
@@ -7885,19 +7885,19 @@ static HRESULT WINAPI ITypeInfo_fnGetContainingTypeLib( ITypeInfo2 *iface,
...
@@ -7885,19 +7885,19 @@ static HRESULT WINAPI ITypeInfo_fnGetContainingTypeLib( ITypeInfo2 *iface,
ITypeLib
*
*
ppTLib
,
UINT
*
pIndex
)
ITypeLib
*
*
ppTLib
,
UINT
*
pIndex
)
{
{
ITypeInfoImpl
*
This
=
impl_from_ITypeInfo2
(
iface
);
ITypeInfoImpl
*
This
=
impl_from_ITypeInfo2
(
iface
);
/* If a pointer is null, we simply ignore it, the ATL in particular passes pIndex as 0 */
/* If a pointer is null, we simply ignore it, the ATL in particular passes pIndex as 0 */
if
(
pIndex
)
{
if
(
pIndex
)
{
*
pIndex
=
This
->
index
;
*
pIndex
=
This
->
index
;
TRACE
(
"returning pIndex=%d
\n
"
,
*
pIndex
);
TRACE
(
"returning pIndex=%d
\n
"
,
*
pIndex
);
}
}
if
(
ppTLib
)
{
if
(
ppTLib
)
{
*
ppTLib
=
(
LPTYPELIB
)(
This
->
pTypeLib
)
;
*
ppTLib
=
(
ITypeLib
*
)
&
This
->
pTypeLib
->
ITypeLib2_iface
;
ITypeLib_AddRef
(
*
ppTLib
);
ITypeLib_AddRef
(
*
ppTLib
);
TRACE
(
"returning ppTLib=%p
\n
"
,
*
ppTLib
);
TRACE
(
"returning ppTLib=%p
\n
"
,
*
ppTLib
);
}
}
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