Little correction to kernel32.spec

Vincent Béron vberon at mecano.gme.usherb.ca
Sat May 11 19:48:28 CDT 2002


Francois Gouget a écrit :
> 
> On Sat, 11 May 2002, Vincent Béron wrote:
> 
> > There's a bunch of APIs defined with ptr instead of str/wstr: should I
> > clean them up also?
> >
> > Changelog:
> >  - The definition of GetSystemWideDirectory{A,W} in kernel32.spec had
> > some ptr args, while they are supposed to be {str, wstr} respectively.
> 
> This is wrong. These parameters are output parameters. If you declare
> them as str, then the relay code will print them when the function is
> called, i.e. before the buffer is initialized.
> 
> --
> Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
>                   In a world without fences who needs Gates?

Ok, it's clearer now. I should've read the documentation more
thoroughly. My other patch suffer from the same thing, too. I'll change
that.

Thank you François!

Vincent



More information about the wine-devel mailing list