oleaut32: Use BOOL type where appropriate

Ken Thomases ken at codeweavers.com
Sat Feb 22 11:39:10 CST 2014


On Feb 22, 2014, at 11:14 AM, Frédéric Delanoy wrote:

> According to MSDN, it's either 0 for non-leading zero, or 1 for
> leading.zero

If the documented values are 0 or 1 (rather than, say, FALSE or TRUE), then why are you changing 0s and 1s to something else?

> (hence TRUE/FALSE def'd to 1/0 in windef)

"Hence" implies a causal relationship.  The fact that TRUE and FALSE happen to be defined to 1 and 0 is unrelated to the fact that LeadingZero should be either 1 or 0.

-Ken




More information about the wine-devel mailing list