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
0c22e540
Commit
0c22e540
authored
Oct 25, 2007
by
James Hawkins
Committed by
Alexandre Julliard
Oct 26, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Fix a test that now passes in Windows.
parent
9f50d662
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
dde.c
dlls/user32/tests/dde.c
+10
-3
No files found.
dlls/user32/tests/dde.c
View file @
0c22e540
...
...
@@ -285,13 +285,20 @@ static void test_ddeml_client(void)
DdeGetLastError
(
client_pid
);
hdata
=
DdeClientTransaction
(
NULL
,
0
,
conversation
,
item
,
CF_TEXT
,
XTYP_REQUEST
,
default_timeout
,
&
res
);
ret
=
DdeGetLastError
(
client_pid
);
ok
(
res
==
0xdeadbeef
,
"Expected 0xdeadbeef, got %08x
\n
"
,
res
);
ok
(
hdata
!=
NULL
,
"Expected non-NULL hdata, got %p
\n
"
,
hdata
);
ok
(
ret
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %d
\n
"
,
ret
);
todo_wine
{
ok
(
hdata
==
NULL
,
"Expected NULL hdata, got %p
\n
"
,
hdata
);
ok
(
ret
==
DMLERR_DATAACKTIMEOUT
,
"Expected DMLERR_DATAACKTIMEOUT, got %d
\n
"
,
ret
);
ok
(
res
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %08x
\n
"
,
res
);
}
str
=
(
LPSTR
)
DdeAccessData
(
hdata
,
&
size
);
ok
(
!
lstrcmpA
(
str
,
"requested data
\r\n
"
),
"Expected 'requested data
\\
r
\\
n', got %s
\n
"
,
str
);
ok
(
size
==
19
,
"Expected 19, got %d
\n
"
,
size
);
ret
=
DdeUnaccessData
(
hdata
);
ok
(
ret
==
TRUE
,
"Expected TRUE, got %d
\n
"
,
ret
);
/* XTYP_REQUEST, fAckReq = TRUE */
res
=
0xdeadbeef
;
DdeGetLastError
(
client_pid
);
...
...
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