documentation for SERVER_START_REQ

Mike Hearn mike at
Mon Mar 7 15:52:16 CST 2005

On Mon, 07 Mar 2005 15:21:45 -0600, James Hawkins wrote:
> I've looked deeper into this and found include/wine/server.h and the
> SERVER_START_REQ define.  So this define is a method of communication
> between the client(?) and server?  

Yep, pretty much. It sets up some state for the wine_server_call later.

>                                   One thing I don't understand is why
> we put the request in two do...while(0) loops.  Won't they just run
> once anyway?

It's a portability thing, basically just declaring a new scope, you can
ignore it - do {} while (0) runs the body of the block once.

thanks -mike

More information about the wine-devel mailing list