Implement LockWindowUpdate [take 2]

Alexandre Julliard julliard at winehq.org
Tue Jan 13 18:20:18 CST 2004


Mike Hearn <mike at theoretic.com> writes:

> Alright. It'd be nice if somebody who knew all the rules of DLL separation
> would write them up somewhere. At the moment I basically have to guess.
> Apologies if it's already written up or the rules are obvious to all
> except me :)

Basically you can only use stuff that is officially exported by the
Windows dlls and headers. The WND structure is not exported, since
it's not declared in any standard header file, and you need to call
Wine internal functions to get access to it.

> If using WND is not OK, what is the best way to get information from USER
> to x11drv then? A wine-specific export that we GetProcAddress() for? Using
> SetProp()?

That depends on the problem. In this case it really depends on the
inter-process behavior of LockWindowUpdate; probably at least part of
it needs to be handled in the server, but the doc is not really clear
on that point.

-- 
Alexandre Julliard
julliard at winehq.com



More information about the wine-devel mailing list