user32: Set client_pid to zero before initializing dde.

This commit is contained in:
James Hawkins 2007-10-08 04:04:48 -05:00 committed by Alexandre Julliard
parent 9a9de4d65b
commit c26a745444
1 changed files with 1 additions and 0 deletions

View File

@ -507,6 +507,7 @@ static void test_ddeml_client(void)
DWORD client_pid;
HCONV conversation;
client_pid = 0;
ret = DdeInitializeA(&client_pid, client_ddeml_callback, APPCMD_CLIENTONLY, 0);
ok(ret == DMLERR_NO_ERROR, "Expected DMLERR_NO_ERROR, got %d\n", ret);