richedit: OpenClipboard doesn't need to be given a window handle.

Dylan Smith dylan.ah.smith at
Mon Dec 15 03:32:10 CST 2008

I have been looking to reduce the number of places where window handles
are used, so I did a relay trace to see if native richedit controls gave
a non-null handle when calling OpenClipboard.  The relay trace showed
that NULL was being used, even for normal windowed richedit controls.

It seems reasonable to do the same as native richedit controls, since
this will remove another use of hWnd in preperation for implementing
windowless richedit controls.
 dlls/riched20/editor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-richedit-OpenClipboard-doesn-t-need-to-be-given.diff.txt

More information about the wine-patches mailing list