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
6d15749d
Commit
6d15749d
authored
Oct 08, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Oct 09, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32/tests: Fix two failures on NT4.
parent
68268dc3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
dragdrop.c
dlls/ole32/tests/dragdrop.c
+6
-2
No files found.
dlls/ole32/tests/dragdrop.c
View file @
6d15749d
...
...
@@ -137,7 +137,9 @@ START_TEST(dragdrop)
NULL
,
NULL
,
NULL
);
hr
=
RegisterDragDrop
(
hwnd
,
&
DropTarget
);
ok
(
hr
==
E_OUTOFMEMORY
,
"RegisterDragDrop without OLE initialized should have returned E_OUTOFMEMORY instead of 0x%08x
\n
"
,
hr
);
ok
(
hr
==
E_OUTOFMEMORY
||
broken
(
hr
==
CO_E_NOTINITIALIZED
),
/* NT4 */
"RegisterDragDrop without OLE initialized should have returned E_OUTOFMEMORY instead of 0x%08x
\n
"
,
hr
);
OleInitialize
(
NULL
);
...
...
@@ -164,7 +166,9 @@ START_TEST(dragdrop)
hr
=
RevokeDragDrop
(
hwnd
);
ok_ole_success
(
hr
,
"RevokeDragDrop"
);
ok
(
droptarget_release_called
==
1
,
"DropTarget_Release should have been called once, not %d times
\n
"
,
droptarget_release_called
);
ok
(
droptarget_release_called
==
1
||
broken
(
droptarget_release_called
==
0
),
/* NT4 */
"DropTarget_Release should have been called once, not %d times
\n
"
,
droptarget_release_called
);
hr
=
RevokeDragDrop
(
NULL
);
ok
(
hr
==
DRAGDROP_E_INVALIDHWND
,
"RevokeDragDrop with NULL hwnd should return DRAGDROP_E_INVALIDHWND instead of 0x%08x
\n
"
,
hr
);
...
...
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