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
aaa93200
Commit
aaa93200
authored
Nov 09, 2007
by
Dan Kegel
Committed by
Alexandre Julliard
Nov 12, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Implement return value for DdeClientTransaction for XTYP_EXECUTE.
parent
6ff78347
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
dde_client.c
dlls/user32/dde_client.c
+9
-0
dde.c
dlls/user32/tests/dde.c
+2
-5
No files found.
dlls/user32/dde_client.c
View file @
aaa93200
...
...
@@ -985,6 +985,15 @@ static WDML_QUEUE_STATE WDML_HandleReply(WDML_CONV* pConv, MSG* msg, HDDEDATA* h
case
WM_DDE_TERMINATE
:
qs
=
WDML_HandleIncomingTerminate
(
pConv
,
msg
,
hdd
);
break
;
case
WM_DDE_ACK
:
/* This happens at end of DdeClientTransaction XTYP_EXECUTE
* Without this assignment, DdeClientTransaction's return value is undefined
* See also http://support.microsoft.com/kb/102574
*/
*
hdd
=
(
HDDEDATA
)
TRUE
;
if
(
ack
)
*
ack
=
DDE_FACK
;
break
;
}
break
;
case
WDML_QS_BLOCK
:
...
...
dlls/user32/tests/dde.c
View file @
aaa93200
...
...
@@ -414,11 +414,8 @@ static void test_ddeml_client(void)
op
=
DdeClientTransaction
((
LPBYTE
)
hdata
,
-
1
,
conversation
,
NULL
,
0
,
XTYP_EXECUTE
,
default_timeout
,
&
res
);
ret
=
DdeGetLastError
(
client_pid
);
ok
(
ret
==
DMLERR_NO_ERROR
,
"Expected DMLERR_NO_ERROR, got %d
\n
"
,
ret
);
todo_wine
{
ok
(
op
==
(
HDDEDATA
)
TRUE
,
"Expected TRUE, got %p
\n
"
,
op
);
ok
(
res
==
DDE_FACK
,
"Expected DDE_FACK, got %d
\n
"
,
res
);
}
ok
(
op
==
(
HDDEDATA
)
TRUE
,
"Expected TRUE, got %p
\n
"
,
op
);
ok
(
res
==
DDE_FACK
,
"Expected DDE_FACK, got %d
\n
"
,
res
);
/* XTYP_EXECUTE, no data */
res
=
0xdeadbeef
;
...
...
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