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

Alexandre Julliard julliard at
Mon Dec 15 06:19:35 CST 2008

"Dylan Smith" <dylan.ah.smith at> writes:

> 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.

Please don't do that. The calls that native makes are part of the
internal workings that you are not supposed to peek into. You should
treat native as a black box and only replicate behavior that can be
observed through test cases.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list