[setupapi/tests] pSetupGetField is A or W depending on OS
Paul Vriens
paul.vriens.wine at gmail.com
Sat Jun 6 14:11:26 CDT 2009
Hi,
Sent to wine-devel for some feedback.
I was checking for more lstrcmpW's (not supported on Win9x) and found
one in setupapi/tests/parser.c.
After some checking it turns out that it returns an ANSI string on Win9x
and a Unicode one on NT4 and higher. There is no export of
pSetupGetField[AW] on any of the platforms.
The attached patch takes care of that but I have a feeling this patch
could be written in a better way.
Suggestions, hints, remarks?
--
Cheers,
Paul.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20090606/7e78f83a/attachment.asc>
More information about the wine-devel
mailing list