ole32: OLE clipboard functions should fail if OLE hasn't been initialised.

Robert Shearman rob at codeweavers.com
Fri Jan 5 09:51:15 CST 2007

Add a field to the TLS data to determine whether OLE has been 
initialised for the current thread and use it in the OLE clipboard 

Fix the OLE clipboard test to call OleInitialize before performing the 
tests to fix test failures on Windows.
  dlls/ole32/clipboard.c       |   26 ++++++++++++++++++++++++++
  dlls/ole32/compobj_private.h |    1 +
  dlls/ole32/ole2.c            |   17 ++++-------------
  dlls/ole32/tests/clipboard.c |   19 +++++++++++++++++--
  4 files changed, 48 insertions(+), 15 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 33579816c1ee523392008adeb01f59a4e88216fc.diff
Type: text/x-patch
Size: 5267 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070105/4d7b40ba/33579816c1ee523392008adeb01f59a4e88216fc.bin

More information about the wine-patches mailing list