GetDefaultPrinter A->W [resubmit]

Alexandre Julliard julliard at winehq.org
Thu Feb 26 18:23:14 CST 2004


Stefan Leichter <Stefan.Leichter at camLine.com> writes:

> Hello, 
> i sent this patch one week ago, but it does not get commited. Anything wrong 
> with it?

The handling of the buffer sizes looks very suspicious. For instance
you check for namesize being NULL, but later on assign something to it
anyway. Also allocations have to be in bytes but length arguments (for
instance in the GetProfileStringW call) have to be in WCHARs, this
isn't done correctly.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list