mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
user32: DdeConnect causes 2 XTYP_CONNECT_CONFIRM messages to flow. Delete one.
This commit is contained in:
parent
4c3e55dd88
commit
5ad6ef53a2
@ -1331,8 +1331,6 @@ static LRESULT CALLBACK WDML_ClientProc(HWND hwnd, UINT iMsg, WPARAM wParam, LPA
|
||||
pConv->wStatus |= ST_ISLOCAL;
|
||||
}
|
||||
|
||||
WDML_BroadcastDDEWindows(WDML_szEventClass, WM_WDML_CONNECT_CONFIRM, (WPARAM)hwnd, wParam);
|
||||
|
||||
GlobalDeleteAtom(uiLo);
|
||||
GlobalDeleteAtom(uiHi);
|
||||
|
||||
|
@ -2170,7 +2170,7 @@ static HDDEDATA CALLBACK server_end_to_end_callback(UINT uType, UINT uFmt, HCONV
|
||||
}
|
||||
case XTYP_CONNECT_CONFIRM:
|
||||
{
|
||||
ok(msg_index == 3 || msg_index == 4 || msg_index == 8, "Expected 3 or 8, got %d\n", msg_index);
|
||||
ok(msg_index == 3 || msg_index == 8, "Expected 3 or 8, got %d\n", msg_index);
|
||||
conversation = hconv;
|
||||
return (HDDEDATA) TRUE;
|
||||
}
|
||||
@ -2178,7 +2178,6 @@ static HDDEDATA CALLBACK server_end_to_end_callback(UINT uType, UINT uFmt, HCONV
|
||||
{
|
||||
BYTE *buffer = NULL;
|
||||
|
||||
todo_wine
|
||||
ok(msg_index == 4 || msg_index == 9, "Expected 4 or 9, got %d\n", msg_index);
|
||||
ok(uFmt == 0, "Expected 0, got %d\n", uFmt);
|
||||
ok(hconv == conversation, "Expected conversation handle, got %p, msg_index=%d\n",
|
||||
|
Loading…
Reference in New Issue
Block a user