Functions For Helping FillRect (Correction)

Vincent Béron vberon at mecano.gme.usherb.ca
Sun Oct 24 09:30:41 CDT 2004


Le dim 24/10/2004 à 06:00, William Poetra Yoga H a écrit :
[snip]
> And I think these two functions suffice. But the question is, why do we have to
> make them inline? Why do the contents of r get scrambled up if we don't?

You're passing a struct by value. If you want the caller to have his
structure to be modified, you need to pass it by ref.

Vincent





More information about the wine-devel mailing list