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
471475ec
Commit
471475ec
authored
Aug 20, 2010
by
Andrew Eikum
Committed by
Alexandre Julliard
Aug 23, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Properly mask size from funcdesc typedata.
The high word of a funcdesc's typedata[0] is used for other data and needs to be masked out.
parent
7fcea36a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
typelib2.c
dlls/oleaut32/typelib2.c
+2
-2
No files found.
dlls/oleaut32/typelib2.c
View file @
471475ec
...
...
@@ -2293,7 +2293,7 @@ static HRESULT WINAPI ICreateTypeInfo2_fnSetFuncAndParamNames(
if
(
*
((
INT
*
)
namedata
)
==
-
1
)
*
((
INT
*
)
namedata
)
=
This
->
typelib
->
typelib_typeinfo_offsets
[
This
->
typeinfo
->
typekind
>>
16
];
len
=
iter
->
u
.
data
[
0
]
/
4
-
iter
->
u
.
data
[
5
]
*
3
;
len
=
(
iter
->
u
.
data
[
0
]
&
0xFFFF
)
/
4
-
iter
->
u
.
data
[
5
]
*
3
;
for
(
i
=
1
;
i
<
cNames
;
i
++
)
{
offset
=
ctl2_alloc_name
(
This
->
typelib
,
rgszNames
[
i
]);
...
...
@@ -3327,7 +3327,7 @@ static HRESULT WINAPI ITypeInfo2_fnGetDocumentation(
if
(
iter
->
indice
==
memid
)
{
if
(
iter
->
type
==
CyclicListFunc
)
{
const
int
*
typedata
=
iter
->
u
.
data
;
int
size
=
typedata
[
0
]
-
typedata
[
5
]
*
(
typedata
[
4
]
&
0x1000
?
16
:
12
);
int
size
=
(
typedata
[
0
]
&
0xFFFF
)
-
typedata
[
5
]
*
(
typedata
[
4
]
&
0x1000
?
16
:
12
);
nameoffset
=
iter
->
name
;
/* FIXME implement this once SetFuncDocString is implemented */
...
...
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