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
36d5515d
Commit
36d5515d
authored
Mar 19, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Mar 20, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Add a test for StgStreamImpl_SetSize with a non-zero HighPart for the size.
parent
bb08a589
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
storage32.c
dlls/ole32/tests/storage32.c
+3
-0
No files found.
dlls/ole32/tests/storage32.c
View file @
36d5515d
...
@@ -308,6 +308,9 @@ static void test_storage_stream(void)
...
@@ -308,6 +308,9 @@ static void test_storage_stream(void)
ok
(
r
==
S_OK
,
"failed to seek stream
\n
"
);
ok
(
r
==
S_OK
,
"failed to seek stream
\n
"
);
r
=
IStream_SetSize
(
stm
,
p
);
r
=
IStream_SetSize
(
stm
,
p
);
ok
(
r
==
S_OK
,
"failed to set pos
\n
"
);
ok
(
r
==
S_OK
,
"failed to set pos
\n
"
);
p
.
u
.
HighPart
=
1
;
r
=
IStream_SetSize
(
stm
,
p
);
ok
(
r
==
STG_E_INVALIDFUNCTION
,
"setting to invalid pos should fail with STG_E_INVALIDFUNCTION instead of error 0x%08x
\n
"
,
r
);
pos
.
QuadPart
=
10
;
pos
.
QuadPart
=
10
;
r
=
IStream_Seek
(
stm
,
pos
,
STREAM_SEEK_SET
,
&
p
);
r
=
IStream_Seek
(
stm
,
pos
,
STREAM_SEEK_SET
,
&
p
);
ok
(
r
==
S_OK
,
"failed to seek stream
\n
"
);
ok
(
r
==
S_OK
,
"failed to seek stream
\n
"
);
...
...
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