ole32: Create a dummy window for use in the drag and drop API tests.

Rob Shearman robertshearman at gmail.com
Sun Sep 28 11:27:20 CDT 2008


As a window being registered for drag and drop is a system-global
property, the tests could be affected by other processes in the
system.

Therefore, make the tests more robust by creating a dummy window that
is known to not be registered for drag and drop.
---
 dlls/ole32/tests/dragdrop.c |   36 +++++++++++++++++++++++++++++++-----
 1 files changed, 31 insertions(+), 5 deletions(-)

Hopefully, should fix these failures:
http://test.winehq.org/data/c425c8a406669fc203a8f77ca3be5216fa4e4160/xp_fg-winxp-sp1/ole32:dragdrop.html

However, it seems to be a generally good thing to do without
confirming that it does fix them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9d6c580a1f9d88d2d706b705a2bbb4d3c3d0c53f.diff
Type: text/x-patch
Size: 2988 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080928/35caf6ee/attachment.bin 


More information about the wine-patches mailing list