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
b711d35d
Commit
b711d35d
authored
Dec 03, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Dec 04, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Fix the test of the size returned from WdtpInterfacePointer_UserSize.
It varies on different versions of Windows, so we shouldn't test it for an exact value.
parent
6dcc3fe6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
usrmarshal.c
dlls/ole32/tests/usrmarshal.c
+2
-1
No files found.
dlls/ole32/tests/usrmarshal.c
View file @
b711d35d
...
@@ -441,7 +441,8 @@ static void test_marshal_WdtpInterfacePointer(void)
...
@@ -441,7 +441,8 @@ static void test_marshal_WdtpInterfacePointer(void)
unk
=
&
Test_Unknown
;
unk
=
&
Test_Unknown
;
size
=
WdtpInterfacePointer_UserSize
(
&
umcb
.
Flags
,
umcb
.
Flags
,
0
,
unk
,
&
IID_IUnknown
);
size
=
WdtpInterfacePointer_UserSize
(
&
umcb
.
Flags
,
umcb
.
Flags
,
0
,
unk
,
&
IID_IUnknown
);
todo_wine
todo_wine
ok
(
size
==
108
,
"size should be 108 bytes, not %d
\n
"
,
size
);
ok
(
size
>
28
,
"size should be > 28 bytes, not %d
\n
"
,
size
);
trace
(
"WdtpInterfacePointer_UserSize returned %d
\n
"
,
size
);
buffer
=
HeapAlloc
(
GetProcessHeap
(),
0
,
size
);
buffer
=
HeapAlloc
(
GetProcessHeap
(),
0
,
size
);
buffer_end
=
WdtpInterfacePointer_UserMarshal
(
&
umcb
.
Flags
,
umcb
.
Flags
,
buffer
,
unk
,
&
IID_IUnknown
);
buffer_end
=
WdtpInterfacePointer_UserMarshal
(
&
umcb
.
Flags
,
umcb
.
Flags
,
buffer
,
unk
,
&
IID_IUnknown
);
wireip
=
buffer
;
wireip
=
buffer
;
...
...
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