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
4deb0ada
Commit
4deb0ada
authored
Jan 05, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon/tests: Fix an uninitialized variable check for Win64.
parent
10b2d6db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
misc.c
dlls/urlmon/tests/misc.c
+3
-1
No files found.
dlls/urlmon/tests/misc.c
View file @
4deb0ada
...
@@ -1305,18 +1305,20 @@ static void test_ReleaseBindInfo(void)
...
@@ -1305,18 +1305,20 @@ static void test_ReleaseBindInfo(void)
static
void
test_CopyStgMedium
(
void
)
static
void
test_CopyStgMedium
(
void
)
{
{
STGMEDIUM
src
,
dst
;
STGMEDIUM
src
,
dst
;
HGLOBAL
empty
;
HRESULT
hres
;
HRESULT
hres
;
static
WCHAR
fileW
[]
=
{
'f'
,
'i'
,
'l'
,
'e'
,
0
};
static
WCHAR
fileW
[]
=
{
'f'
,
'i'
,
'l'
,
'e'
,
0
};
memset
(
&
src
,
0xf0
,
sizeof
(
src
));
memset
(
&
src
,
0xf0
,
sizeof
(
src
));
memset
(
&
dst
,
0xe0
,
sizeof
(
dst
));
memset
(
&
dst
,
0xe0
,
sizeof
(
dst
));
memset
(
&
empty
,
0xf0
,
sizeof
(
empty
));
src
.
tymed
=
TYMED_NULL
;
src
.
tymed
=
TYMED_NULL
;
src
.
pUnkForRelease
=
NULL
;
src
.
pUnkForRelease
=
NULL
;
hres
=
CopyStgMedium
(
&
src
,
&
dst
);
hres
=
CopyStgMedium
(
&
src
,
&
dst
);
ok
(
hres
==
S_OK
,
"CopyStgMedium failed: %08x
\n
"
,
hres
);
ok
(
hres
==
S_OK
,
"CopyStgMedium failed: %08x
\n
"
,
hres
);
ok
(
dst
.
tymed
==
TYMED_NULL
,
"tymed=%d
\n
"
,
dst
.
tymed
);
ok
(
dst
.
tymed
==
TYMED_NULL
,
"tymed=%d
\n
"
,
dst
.
tymed
);
ok
(
dst
.
u
.
hGlobal
==
(
void
*
)
0xf0f0f0f0
,
"u=%p
\n
"
,
dst
.
u
.
hGlobal
);
ok
(
dst
.
u
.
hGlobal
==
empty
,
"u=%p
\n
"
,
dst
.
u
.
hGlobal
);
ok
(
!
dst
.
pUnkForRelease
,
"pUnkForRelease=%p, expected NULL
\n
"
,
dst
.
pUnkForRelease
);
ok
(
!
dst
.
pUnkForRelease
,
"pUnkForRelease=%p, expected NULL
\n
"
,
dst
.
pUnkForRelease
);
memset
(
&
dst
,
0xe0
,
sizeof
(
dst
));
memset
(
&
dst
,
0xe0
,
sizeof
(
dst
));
...
...
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