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
97dc0321
Commit
97dc0321
authored
Oct 12, 2007
by
James Hawkins
Committed by
Alexandre Julliard
Oct 15, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Return DMLERR_INVALIDPARAMETER if hszItem is NULL.
parent
dbad0ee6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
dde_client.c
dlls/user32/dde_client.c
+1
-1
dde.c
dlls/user32/tests/dde.c
+1
-4
No files found.
dlls/user32/dde_client.c
View file @
97dc0321
...
...
@@ -1163,7 +1163,7 @@ HDDEDATA WINAPI DdeClientTransaction(LPBYTE pData, DWORD cbData, HCONV hConv, HS
pXAct
=
WDML_ClientQueueUnadvise
(
pConv
,
wFmt
,
hszItem
);
break
;
case
XTYP_REQUEST
:
if
(
pData
)
if
(
pData
||
!
hszItem
)
{
pConv
->
instance
->
lastError
=
DMLERR_INVALIDPARAMETER
;
return
0
;
...
...
dlls/user32/tests/dde.c
View file @
97dc0321
...
...
@@ -353,10 +353,7 @@ static void test_ddeml_client(void)
ret
=
DdeGetLastError
(
client_pid
);
ok
(
hdata
==
NULL
,
"Expected NULL hdata, got %p
\n
"
,
hdata
);
ok
(
res
==
0xdeadbeef
,
"Expected 0xdeadbeef, got %08x
\n
"
,
res
);
todo_wine
{
ok
(
ret
==
DMLERR_INVALIDPARAMETER
,
"Expected DMLERR_INVALIDPARAMETER, got %d
\n
"
,
ret
);
}
ok
(
ret
==
DMLERR_INVALIDPARAMETER
,
"Expected DMLERR_INVALIDPARAMETER, got %d
\n
"
,
ret
);
DdeFreeStringHandle
(
client_pid
,
item
);
...
...
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