Fix Unicode support for SetupApi INFs

Robert Shearman R.J.Shearman at warwick.ac.uk
Tue Jan 27 18:42:05 CST 2004


Hi,

A well meaning individual implemented Unicode support for SetupApi.
However, the detection for whether a file was Unicode was slightly
broken because RtlIsTextUnicode only returns true if all the flags input
were output (and NULL means all flags). Since some are contradictory
this will never return TRUE. I only set the signature detection since
heuristics will probably take a while on larger files.

Rob

Changelog:
Fix Unicode support for SetupApi INFs

-------------- next part --------------
A non-text attachment was scrubbed...
Name: setupapi.diff
Type: text/x-patch
Size: 916 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20040128/05cf5ff4/setupapi.bin


More information about the wine-patches mailing list