[advapi32] QueryServiceConfig2 tests

Stefan Leichter Stefan.Leichter at camline.com
Sun Jan 20 16:51:01 CST 2008


Am Tuesday 15 January 2008 13:17 schrieb Alexandre Julliard:
> Stefan Leichter <Stefan.Leichter at camline.com> writes:
> > + * Note
> > + *   observed unter win2k:
> > + *   1. when the function is called to get the required buffer size, the
> > value of + *   the returned parameter needed is big enough to hold the
> > strings as WCHARs(!)
>
> It's not WCHARs, it's two A chars per W char to leave enough room for
> the conversion. I don't see you doing that in the code.

This behavior looks like a bug to me. Before fixing the implementation i like 
to know how other windows versions behave. Therefore let's check the test 
result first.

ChangeLog
---------
	added some tests for QueryServiceConfig2A/W
-------------- next part --------------
A non-text attachment was scrubbed...
Name: QueryServiceConfig2Tests.diff
Type: text/x-diff
Size: 8993 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080120/2fd9de31/attachment.diff 


More information about the wine-patches mailing list