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
13451c3b
Commit
13451c3b
authored
Jul 01, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Jul 01, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Fix a few failing tests in win2k.
parent
824d631c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
10 deletions
+30
-10
dde.c
dlls/user32/tests/dde.c
+30
-10
No files found.
dlls/user32/tests/dde.c
View file @
13451c3b
...
...
@@ -1979,15 +1979,23 @@ static void test_UnpackDDElParam(void)
hi
=
0xbeef
;
ret
=
UnpackDDElParam
(
WM_DDE_ADVISE
,
(
LPARAM
)
NULL
,
&
lo
,
&
hi
);
ok
(
ret
==
FALSE
,
"Expected FALSE, got %d
\n
"
,
ret
);
ok
(
lo
==
0
,
"Expected 0, got %08lx
\n
"
,
lo
);
ok
(
hi
==
0
,
"Expected 0, got %08lx
\n
"
,
hi
);
ok
(
lo
==
0
||
broken
(
lo
==
0xdead
),
/* win2k */
"Expected 0, got %08lx
\n
"
,
lo
);
ok
(
hi
==
0
||
broken
(
hi
==
0xbeef
),
/* win2k */
"Expected 0, got %08lx
\n
"
,
hi
);
lo
=
0xdead
;
hi
=
0xbeef
;
ret
=
UnpackDDElParam
(
WM_DDE_ADVISE
,
0xcafebabe
,
&
lo
,
&
hi
);
ok
(
ret
==
FALSE
,
"Expected FALSE, got %d
\n
"
,
ret
);
ok
(
lo
==
0
,
"Expected 0, got %08lx
\n
"
,
lo
);
ok
(
hi
==
0
,
"Expected 0, got %08lx
\n
"
,
hi
);
ok
(
lo
==
0
||
broken
(
lo
==
0xdead
),
/* win2k */
"Expected 0, got %08lx
\n
"
,
lo
);
ok
(
hi
==
0
||
broken
(
hi
==
0xbeef
),
/* win2k */
"Expected 0, got %08lx
\n
"
,
hi
);
hglobal
=
GlobalAlloc
(
GMEM_DDESHARE
,
2
);
ptr
=
GlobalLock
(
hglobal
);
...
...
@@ -2013,8 +2021,12 @@ static void test_UnpackDDElParam(void)
hi
=
0xbeef
;
ret
=
UnpackDDElParam
(
WM_DDE_ACK
,
0xcafebabe
,
&
lo
,
&
hi
);
ok
(
ret
==
FALSE
,
"Expected FALSE, got %d
\n
"
,
ret
);
ok
(
lo
==
0
,
"Expected 0, got %08lx
\n
"
,
lo
);
ok
(
hi
==
0
,
"Expected 0, got %08lx
\n
"
,
hi
);
ok
(
lo
==
0
||
broken
(
lo
==
0xdead
),
/* win2k */
"Expected 0, got %08lx
\n
"
,
lo
);
ok
(
hi
==
0
||
broken
(
hi
==
0xbeef
),
/* win2k */
"Expected 0, got %08lx
\n
"
,
hi
);
lo
=
0xdead
;
hi
=
0xbeef
;
...
...
@@ -2027,8 +2039,12 @@ static void test_UnpackDDElParam(void)
hi
=
0xbeef
;
ret
=
UnpackDDElParam
(
WM_DDE_DATA
,
0xcafebabe
,
&
lo
,
&
hi
);
ok
(
ret
==
FALSE
,
"Expected FALSE, got %d
\n
"
,
ret
);
ok
(
lo
==
0
,
"Expected 0, got %08lx
\n
"
,
lo
);
ok
(
hi
==
0
,
"Expected 0, got %08lx
\n
"
,
hi
);
ok
(
lo
==
0
||
broken
(
lo
==
0xdead
),
/* win2k */
"Expected 0, got %08lx
\n
"
,
lo
);
ok
(
hi
==
0
||
broken
(
hi
==
0xbeef
),
/* win2k */
"Expected 0, got %08lx
\n
"
,
hi
);
lo
=
0xdead
;
hi
=
0xbeef
;
...
...
@@ -2048,8 +2064,12 @@ static void test_UnpackDDElParam(void)
hi
=
0xbeef
;
ret
=
UnpackDDElParam
(
WM_DDE_POKE
,
0xcafebabe
,
&
lo
,
&
hi
);
ok
(
ret
==
FALSE
,
"Expected FALSE, got %d
\n
"
,
ret
);
ok
(
lo
==
0
,
"Expected 0, got %08lx
\n
"
,
lo
);
ok
(
hi
==
0
,
"Expected 0, got %08lx
\n
"
,
hi
);
ok
(
lo
==
0
||
broken
(
lo
==
0xdead
),
/* win2k */
"Expected 0, got %08lx
\n
"
,
lo
);
ok
(
hi
==
0
||
broken
(
hi
==
0xbeef
),
/* win2k */
"Expected 0, got %08lx
\n
"
,
hi
);
lo
=
0xdead
;
hi
=
0xbeef
;
...
...
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