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
df40c966
Commit
df40c966
authored
May 08, 2006
by
Huw Davies
Committed by
Alexandre Julliard
May 08, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Preserve the 'auto' features before copying over the masked unmarshaled ones.
parent
1c6f16a3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
usrmarshal.c
dlls/oleaut32/tests/usrmarshal.c
+0
-4
usrmarshal.c
dlls/oleaut32/usrmarshal.c
+2
-1
No files found.
dlls/oleaut32/tests/usrmarshal.c
View file @
df40c966
...
...
@@ -181,9 +181,7 @@ static void test_marshal_LPSAFEARRAY(void)
ok
(
lpsa2
!=
NULL
,
"LPSAFEARRAY didn't unmarshal
\n
"
);
SafeArrayGetVartype
(
lpsa
,
&
vt
);
SafeArrayGetVartype
(
lpsa2
,
&
vt2
);
todo_wine
{
ok
(
vt
==
vt2
,
"vts differ %x %x
\n
"
,
vt
,
vt2
);
}
LPSAFEARRAY_UserFree
(
&
umcb
.
Flags
,
&
lpsa2
);
}
HeapFree
(
GetProcessHeap
(),
0
,
buffer
);
...
...
@@ -865,9 +863,7 @@ static void test_marshal_VARIANT(void)
ok
(
bound
==
bound2
,
"array ubounds differ
\n
"
);
SafeArrayGetVartype
(
V_ARRAY
(
&
v
),
&
vt
);
SafeArrayGetVartype
(
V_ARRAY
(
&
v2
),
&
vt2
);
todo_wine
{
ok
(
vt
==
vt2
,
"array vts differ %x %x
\n
"
,
vt
,
vt2
);
}
VARIANT_UserFree
(
&
umcb
.
Flags
,
&
v2
);
}
HeapFree
(
GetProcessHeap
(),
0
,
buffer
);
...
...
dlls/oleaut32/usrmarshal.c
View file @
df40c966
...
...
@@ -1004,7 +1004,8 @@ unsigned char * WINAPI LPSAFEARRAY_UserUnmarshal(unsigned long *pFlags, unsigned
/* be careful about which flags we set since they could be a security
* risk */
(
*
ppsa
)
->
fFeatures
=
wiresa
->
fFeatures
&
~
(
FADF_AUTOSETFLAGS
);
(
*
ppsa
)
->
fFeatures
&=
FADF_AUTOSETFLAGS
;
(
*
ppsa
)
->
fFeatures
|=
(
wiresa
->
fFeatures
&
~
(
FADF_AUTOSETFLAGS
));
/* FIXME: there should be a limit on how large wiresa->cbElements can be */
(
*
ppsa
)
->
cbElements
=
wiresa
->
cbElements
;
(
*
ppsa
)
->
cLocks
=
LOWORD
(
wiresa
->
cLocks
);
...
...
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