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
ec49e417
Commit
ec49e417
authored
Aug 08, 2008
by
Jeff Latimer
Committed by
Alexandre Julliard
Aug 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: DdeClientTransaction should return 0 in the last param for DDE_DATA.
parent
fe0d5b55
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
18 deletions
+8
-18
dde_client.c
dlls/user32/dde_client.c
+1
-0
dde.c
dlls/user32/tests/dde.c
+7
-18
No files found.
dlls/user32/dde_client.c
View file @
ec49e417
...
...
@@ -921,6 +921,7 @@ static WDML_QUEUE_STATE WDML_HandleReply(WDML_CONV* pConv, MSG* msg, HDDEDATA* h
if
(
pConv
->
transactions
)
{
if
(
ack
)
*
ack
=
DDE_FNOTPROCESSED
;
/* first check message against a pending transaction, if any */
switch
(
pXAct
->
ddeMsg
)
{
...
...
dlls/user32/tests/dde.c
View file @
ec49e417
...
...
@@ -291,11 +291,8 @@ 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
(
ret
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %d
\n
"
,
ret
);
todo_wine
{
ok
(
res
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %08x
\n
"
,
res
);
}
ok
(
ret
==
DMLERR_NO_ERROR
,
"Expected DMLERR_NO_ERROR, got %d
\n
"
,
ret
);
ok
(
res
==
DDE_FNOTPROCESSED
,
"Expected DDE_FNOTPROCESSED, got %08x
\n
"
,
res
);
if
(
hdata
==
NULL
)
ok
(
FALSE
,
"hdata is NULL
\n
"
);
else
...
...
@@ -313,11 +310,9 @@ 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
);
todo_wine
{
ok
(
res
==
DDE_FNOTPROCESSED
,
"Expected DDE_FNOTPROCESSED, got %d
\n
"
,
res
);
ok
(
ret
==
DMLERR_MEMORY_ERROR
,
"Expected DMLERR_MEMORY_ERROR, got %d
\n
"
,
ret
);
}
ok
(
res
==
DDE_FNOTPROCESSED
,
"Expected DDE_FNOTPROCESSED, got %d
\n
"
,
res
);
todo_wine
ok
(
ret
==
DMLERR_MEMORY_ERROR
,
"Expected DMLERR_MEMORY_ERROR, got %d
\n
"
,
ret
);
if
(
hdata
==
NULL
)
ok
(
FALSE
,
"hdata is NULL
\n
"
);
else
...
...
@@ -336,10 +331,7 @@ static void test_ddeml_client(void)
hdata
=
DdeClientTransaction
(
NULL
,
0
,
conversation
,
item
,
CF_TEXT
,
XTYP_REQUEST
,
default_timeout
,
&
res
);
ret
=
DdeGetLastError
(
client_pid
);
ok
(
ret
==
DMLERR_NO_ERROR
,
"Expected DMLERR_NO_ERROR, got %d
\n
"
,
ret
);
todo_wine
{
ok
(
res
==
DDE_FNOTPROCESSED
,
"Expected DDE_FNOTPROCESSED, got %d
\n
"
,
res
);
}
ok
(
res
==
DDE_FNOTPROCESSED
,
"Expected DDE_FNOTPROCESSED, got %d
\n
"
,
res
);
if
(
hdata
==
NULL
)
ok
(
FALSE
,
"hdata is NULL
\n
"
);
else
...
...
@@ -457,10 +449,7 @@ static void test_ddeml_client(void)
hdata
=
DdeClientTransaction
(
NULL
,
0
,
conversation
,
item
,
CF_TEXT
,
XTYP_REQUEST
,
default_timeout
,
&
res
);
ret
=
DdeGetLastError
(
client_pid
);
ok
(
ret
==
DMLERR_NO_ERROR
,
"Expected DMLERR_NO_ERROR, got %d
\n
"
,
ret
);
todo_wine
{
ok
(
res
==
DDE_FNOTPROCESSED
,
"Expected DDE_FNOTPROCESSED, got %d
\n
"
,
res
);
}
ok
(
res
==
DDE_FNOTPROCESSED
,
"Expected DDE_FNOTPROCESSED, got %d
\n
"
,
res
);
if
(
hdata
==
NULL
)
ok
(
FALSE
,
"hdata is NULL
\n
"
);
else
...
...
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