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
2b74e774
Commit
2b74e774
authored
Dec 04, 2009
by
Rob Shearman
Committed by
Alexandre Julliard
Dec 07, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Add tests for HGLOBAL stream ignoring the HighPart of the offset for seeks.
parent
4ad63128
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
hglobalstream.c
dlls/ole32/tests/hglobalstream.c
+17
-0
No files found.
dlls/ole32/tests/hglobalstream.c
View file @
2b74e774
...
...
@@ -75,6 +75,23 @@ static void test_streamonhglobal(IStream *pStream)
hr
=
IStream_SetSize
(
pStream
,
ull
);
ok_ole_success
(
hr
,
"IStream_SetSize"
);
/* ignores HighPart */
ll
.
u
.
HighPart
=
-
1
;
ll
.
u
.
LowPart
=
0
;
hr
=
IStream_Seek
(
pStream
,
ll
,
STREAM_SEEK_SET
,
&
ull
);
todo_wine
ok_ole_success
(
hr
,
"IStream_Seek"
);
ok
(
ull
.
u
.
LowPart
==
0
,
"should have set LowPart to 0 instead of %d
\n
"
,
ull
.
u
.
LowPart
);
todo_wine
ok
(
ull
.
u
.
HighPart
==
0
,
"should have set HighPart to 0 instead of %d
\n
"
,
ull
.
u
.
HighPart
);
/* ignores HighPart */
ll
.
u
.
HighPart
=
-
1
;
ll
.
u
.
LowPart
=
0
;
hr
=
IStream_Seek
(
pStream
,
ll
,
STREAM_SEEK_CUR
,
NULL
);
todo_wine
ok_ole_success
(
hr
,
"IStream_Seek"
);
hr
=
IStream_Commit
(
pStream
,
STGC_DEFAULT
);
ok_ole_success
(
hr
,
"IStream_Commit"
);
...
...
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