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
eca18b51
Commit
eca18b51
authored
Jun 13, 2013
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jun 13, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Do not rely on vtable placement in the implementation structure.
parent
df17007a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
typelib.c
dlls/oleaut32/typelib.c
+9
-9
No files found.
dlls/oleaut32/typelib.c
View file @
eca18b51
...
...
@@ -8358,13 +8358,13 @@ HRESULT WINAPI CreateTypeLib2(SYSKIND syskind, LPCOLESTR szFile,
This
->
path
=
heap_alloc
((
lstrlenW
(
szFile
)
+
1
)
*
sizeof
(
WCHAR
));
if
(
!
This
->
path
)
{
ITypeLib2_Release
(
(
ITypeLib2
*
)
This
);
ITypeLib2_Release
(
&
This
->
ITypeLib2_iface
);
return
E_OUTOFMEMORY
;
}
lstrcpyW
(
This
->
path
,
szFile
);
hres
=
ITypeLib2_QueryInterface
(
(
ITypeLib2
*
)
This
,
&
IID_ICreateTypeLib2
,
(
LPVOID
*
)
ppctlib
);
ITypeLib2_Release
(
(
ITypeLib2
*
)
This
);
hres
=
ITypeLib2_QueryInterface
(
&
This
->
ITypeLib2_iface
,
&
IID_ICreateTypeLib2
,
(
LPVOID
*
)
ppctlib
);
ITypeLib2_Release
(
&
This
->
ITypeLib2_iface
);
return
hres
;
}
...
...
@@ -8373,21 +8373,21 @@ static HRESULT WINAPI ICreateTypeLib2_fnQueryInterface(ICreateTypeLib2 *iface,
{
ITypeLibImpl
*
This
=
impl_from_ICreateTypeLib2
(
iface
);
return
ITypeLib2_QueryInterface
(
(
ITypeLib2
*
)
This
,
riid
,
object
);
return
ITypeLib2_QueryInterface
(
&
This
->
ITypeLib2_iface
,
riid
,
object
);
}
static
ULONG
WINAPI
ICreateTypeLib2_fnAddRef
(
ICreateTypeLib2
*
iface
)
{
ITypeLibImpl
*
This
=
impl_from_ICreateTypeLib2
(
iface
);
return
ITypeLib2_AddRef
(
(
ITypeLib2
*
)
This
);
return
ITypeLib2_AddRef
(
&
This
->
ITypeLib2_iface
);
}
static
ULONG
WINAPI
ICreateTypeLib2_fnRelease
(
ICreateTypeLib2
*
iface
)
{
ITypeLibImpl
*
This
=
impl_from_ICreateTypeLib2
(
iface
);
return
ITypeLib2_Release
(
(
ITypeLib2
*
)
This
);
return
ITypeLib2_Release
(
&
This
->
ITypeLib2_iface
);
}
static
HRESULT
WINAPI
ICreateTypeLib2_fnCreateTypeInfo
(
ICreateTypeLib2
*
iface
,
...
...
@@ -9883,21 +9883,21 @@ static HRESULT WINAPI ICreateTypeInfo2_fnQueryInterface(ICreateTypeInfo2 *iface,
{
ITypeInfoImpl
*
This
=
info_impl_from_ICreateTypeInfo2
(
iface
);
return
ITypeInfo2_QueryInterface
(
(
ITypeInfo2
*
)
This
,
riid
,
object
);
return
ITypeInfo2_QueryInterface
(
&
This
->
ITypeInfo2_iface
,
riid
,
object
);
}
static
ULONG
WINAPI
ICreateTypeInfo2_fnAddRef
(
ICreateTypeInfo2
*
iface
)
{
ITypeInfoImpl
*
This
=
info_impl_from_ICreateTypeInfo2
(
iface
);
return
ITypeInfo2_AddRef
(
(
ITypeInfo2
*
)
This
);
return
ITypeInfo2_AddRef
(
&
This
->
ITypeInfo2_iface
);
}
static
ULONG
WINAPI
ICreateTypeInfo2_fnRelease
(
ICreateTypeInfo2
*
iface
)
{
ITypeInfoImpl
*
This
=
info_impl_from_ICreateTypeInfo2
(
iface
);
return
ITypeInfo2_Release
(
(
ITypeInfo2
*
)
This
);
return
ITypeInfo2_Release
(
&
This
->
ITypeInfo2_iface
);
}
static
HRESULT
WINAPI
ICreateTypeInfo2_fnSetGuid
(
ICreateTypeInfo2
*
iface
,
...
...
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