Little correction to kernel32.spec

Francois Gouget fgouget at free.fr
Sat May 11 17:45:41 CDT 2002


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?




More information about the wine-devel mailing list