Fix Unicode support for SetupApi INFs
julliard at winehq.org
Wed Jan 28 12:48:10 CST 2004
Robert Shearman <R.J.Shearman at warwick.ac.uk> writes:
> 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.
Actually that's a bug in RtlIsTextUnicode. Passing NULL as flags is
legitimate and means to do all the available tests; it certainly
doesn't mean to always return FALSE, so it will have to be fixed to
avoid contradictory tests.
julliard at winehq.com
More information about the wine-devel