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
3b102b39
Commit
3b102b39
authored
May 12, 2006
by
Francois Gouget
Committed by
Alexandre Julliard
May 15, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Fix compilation with gcc 2.95.
parent
05d62926
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
storage32.c
dlls/ole32/tests/storage32.c
+4
-4
No files found.
dlls/ole32/tests/storage32.c
View file @
3b102b39
...
@@ -715,8 +715,8 @@ static void test_storage_refcount(void)
...
@@ -715,8 +715,8 @@ static void test_storage_refcount(void)
r
=
IStorage_Stat
(
stg
,
&
statstg
,
STATFLAG_NONAME
);
r
=
IStorage_Stat
(
stg
,
&
statstg
,
STATFLAG_NONAME
);
ok
(
r
==
S_OK
,
"Stat should have succeded instead of returning 0x%08lx
\n
"
,
r
);
ok
(
r
==
S_OK
,
"Stat should have succeded instead of returning 0x%08lx
\n
"
,
r
);
ok
(
statstg
.
type
==
STGTY_STORAGE
,
"Statstg type should have been STGTY_STORAGE instead of %ld
\n
"
,
statstg
.
type
);
ok
(
statstg
.
type
==
STGTY_STORAGE
,
"Statstg type should have been STGTY_STORAGE instead of %ld
\n
"
,
statstg
.
type
);
ok
(
statstg
.
cbSize
.
LowPart
==
0
,
"Statstg cbSize.LowPart should have been 0 instead of %ld
\n
"
,
statstg
.
cbSize
.
LowPart
);
ok
(
U
(
statstg
.
cbSize
).
LowPart
==
0
,
"Statstg cbSize.LowPart should have been 0 instead of %ld
\n
"
,
U
(
statstg
.
cbSize
)
.
LowPart
);
ok
(
statstg
.
cbSize
.
HighPart
==
0
,
"Statstg cbSize.HighPart should have been 0 instead of %ld
\n
"
,
statstg
.
cbSize
.
HighPart
);
ok
(
U
(
statstg
.
cbSize
).
HighPart
==
0
,
"Statstg cbSize.HighPart should have been 0 instead of %ld
\n
"
,
U
(
statstg
.
cbSize
)
.
HighPart
);
ok
(
statstg
.
grfMode
==
(
STGM_TRANSACTED
|
STGM_SHARE_DENY_WRITE
|
STGM_READWRITE
),
ok
(
statstg
.
grfMode
==
(
STGM_TRANSACTED
|
STGM_SHARE_DENY_WRITE
|
STGM_READWRITE
),
"Statstg grfMode should have been 0x10022 instead of 0x%lx
\n
"
,
statstg
.
grfMode
);
"Statstg grfMode should have been 0x10022 instead of 0x%lx
\n
"
,
statstg
.
grfMode
);
ok
(
statstg
.
grfLocksSupported
==
0
,
"Statstg grfLocksSupported should have been 0 instead of %ld
\n
"
,
statstg
.
grfLocksSupported
);
ok
(
statstg
.
grfLocksSupported
==
0
,
"Statstg grfLocksSupported should have been 0 instead of %ld
\n
"
,
statstg
.
grfLocksSupported
);
...
@@ -732,8 +732,8 @@ static void test_storage_refcount(void)
...
@@ -732,8 +732,8 @@ static void test_storage_refcount(void)
ok
(
!
lstrcmpW
(
statstg
.
pwcsName
,
stgname
),
ok
(
!
lstrcmpW
(
statstg
.
pwcsName
,
stgname
),
"Statstg pwcsName should have been the name the storage was created with
\n
"
);
"Statstg pwcsName should have been the name the storage was created with
\n
"
);
ok
(
statstg
.
type
==
STGTY_STORAGE
,
"Statstg type should have been STGTY_STORAGE instead of %ld
\n
"
,
statstg
.
type
);
ok
(
statstg
.
type
==
STGTY_STORAGE
,
"Statstg type should have been STGTY_STORAGE instead of %ld
\n
"
,
statstg
.
type
);
ok
(
statstg
.
cbSize
.
LowPart
==
0
,
"Statstg cbSize.LowPart should have been 0 instead of %ld
\n
"
,
statstg
.
cbSize
.
LowPart
);
ok
(
U
(
statstg
.
cbSize
).
LowPart
==
0
,
"Statstg cbSize.LowPart should have been 0 instead of %ld
\n
"
,
U
(
statstg
.
cbSize
)
.
LowPart
);
ok
(
statstg
.
cbSize
.
HighPart
==
0
,
"Statstg cbSize.HighPart should have been 0 instead of %ld
\n
"
,
statstg
.
cbSize
.
HighPart
);
ok
(
U
(
statstg
.
cbSize
).
HighPart
==
0
,
"Statstg cbSize.HighPart should have been 0 instead of %ld
\n
"
,
U
(
statstg
.
cbSize
)
.
HighPart
);
ok
(
statstg
.
grfMode
==
STGM_SHARE_EXCLUSIVE
,
ok
(
statstg
.
grfMode
==
STGM_SHARE_EXCLUSIVE
,
"Statstg grfMode should have been STGM_SHARE_EXCLUSIVE instead of 0x%lx
\n
"
,
statstg
.
grfMode
);
"Statstg grfMode should have been STGM_SHARE_EXCLUSIVE instead of 0x%lx
\n
"
,
statstg
.
grfMode
);
ok
(
statstg
.
grfLocksSupported
==
0
,
"Statstg grfLocksSupported should have been 0 instead of %ld
\n
"
,
statstg
.
grfLocksSupported
);
ok
(
statstg
.
grfLocksSupported
==
0
,
"Statstg grfLocksSupported should have been 0 instead of %ld
\n
"
,
statstg
.
grfLocksSupported
);
...
...
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