Fix snprintfW Return Value

Alexandre Julliard julliard at
Mon Jul 12 15:22:03 CDT 2004

Rob Shearman <rob at> writes:

> On Fri, 2004-07-09 at 19:55, Alexandre Julliard wrote:
>> Actually, something does depend on it: it is used to implement
>> _vsnwprintf in ntdll, so you can't change it.
> How about this updated patch then?

No, vsnprintfW is used directly in ntdll.spec, you can't change it.
And really, all the profile code uses it for is %s formats, it can
easily be replaced by strcpy which would also avoid the need to build
the string twice.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list