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
8d30c1d0
Commit
8d30c1d0
authored
May 03, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
May 05, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Add a storage test for reading and writing of streams that have
had their parent storage released.
parent
e52e4978
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
storage32.c
dlls/ole32/tests/storage32.c
+7
-0
No files found.
dlls/ole32/tests/storage32.c
View file @
8d30c1d0
...
...
@@ -634,6 +634,7 @@ static void test_storage_refcount(void)
LARGE_INTEGER
pos
;
ULARGE_INTEGER
upos
;
STATSTG
stat
;
char
buffer
[
10
];
if
(
!
GetTempFileNameW
(
szDot
,
szPrefix
,
0
,
filename
))
return
;
...
...
@@ -659,6 +660,12 @@ static void test_storage_refcount(void)
r
=
IStream_Stat
(
stm
,
&
stat
,
STATFLAG_DEFAULT
);
ok
(
r
==
STG_E_REVERTED
,
"stat should fail
\n
"
);
r
=
IStream_Write
(
stm
,
"Test string"
,
strlen
(
"Test string"
),
NULL
);
ok
(
r
==
STG_E_REVERTED
,
"IStream_Write should return STG_E_REVERTED instead of 0x%08lx
\n
"
,
r
);
r
=
IStream_Read
(
stm
,
buffer
,
sizeof
(
buffer
),
NULL
);
ok
(
r
==
STG_E_REVERTED
,
"IStream_Read should return STG_E_REVERTED instead of 0x%08lx
\n
"
,
r
);
r
=
IStream_Release
(
stm
);
ok
(
r
==
0
,
"stream not released
\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