spice/client/windows
Arnon Gilboa f605e2774d client/windows: fix SetClipboardViewer error handling rhbz#786554
MSDN says the following about SetClipboardViewer(): "If an error occurs or there
are no other windows in the clipboard viewer chain, the return value is NULL".
Seems like the buggy case was "no other windows in the clipboard viewer chain",
which explains the 3rd party clipboard manager workaround detailed in the bug
description.

It also seems like SetClipboardViewer() does not clear the error state on
succcess. Calling SetLastError(0) before SetClipboardViewer() seems to solves
this issue.

Since we could not reproduce the bug on our env, the customer has verified on
several of their systems that a private build resolved the issue.
2012-03-01 14:16:49 +02:00
..
atomic_count.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
event_sources_p.cpp Remove trailing blank lines 2012-01-13 18:11:59 +02:00
event_sources_p.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
generate1.bat client: add --include "common.h" for generated marshallers 2010-06-29 13:59:46 +02:00
generate.bat client: add --include "common.h" for generated marshallers 2010-06-29 13:59:46 +02:00
main.cpp Remove trailing blank lines 2012-01-13 18:11:59 +02:00
my_getopt.cpp Remove trailing blank lines 2012-01-13 18:11:59 +02:00
named_pipe.cpp Remove trailing blank lines 2012-01-13 18:11:59 +02:00
named_pipe.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
pixels_source_p.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
pixels_source.cpp Remove trailing blank lines 2012-01-13 18:11:59 +02:00
platform_utils.cpp Remove trailing blank lines 2012-01-13 18:11:59 +02:00
platform_utils.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
platform.cpp client/windows: fix SetClipboardViewer error handling rhbz#786554 2012-03-01 14:16:49 +02:00
playback.cpp Remove trailing blank lines 2012-01-13 18:11:59 +02:00
playback.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
record.cpp Remove trailing blank lines 2012-01-13 18:11:59 +02:00
record.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
red_drawable.cpp Remove trailing blank lines 2012-01-13 18:11:59 +02:00
red_pixmap_gdi.cpp Remove trailing blank lines 2012-01-13 18:11:59 +02:00
red_pixmap_sw.cpp Remove trailing blank lines 2012-01-13 18:11:59 +02:00
red_pixmap.cpp Remove trailing blank lines 2012-01-13 18:11:59 +02:00
red_window_p.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
red_window.cpp client/windows: fix several assigned but not used errors 2012-01-13 17:42:23 +02:00
redc.rc client/windows: inc version to 0,9,0,0 2011-05-12 15:13:39 +03:00
redc.sln spicec-win: add x64 to vcproj & sln (v2) 2010-10-25 08:35:56 +02:00
redc.vcproj client/windows: enable image randomization (ASLR) rhbz#701111 2011-05-30 10:02:19 +03:00
resource.h spicec: Remove spice-client watermark (rhbz#662450) 2010-12-16 14:54:46 +01:00
spice.ico client: use spice icon instead-of solidice icon 2010-01-04 21:13:03 +02:00
spicec.exe.manifest fresh start 2009-10-14 15:06:41 +02:00
stdint.h Remove trailing whitespace from end of lines 2012-01-13 18:11:59 +02:00
sticky_alt.bmp spice client: sticky Alt activation when holding an Alt key: bug #505912. 2009-11-15 13:41:10 +02:00
win_platform.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00