On 2/26/2014 11:12, Frédéric Delanoy wrote:
I think it's a wrong change.Even if msdn says you can use TRUE/FALSE here, field is not defined as of 'BOOL' type.
On Wed, Feb 26, 2014 at 8:29 AM, Nikolay Sivov bunglehead@gmail.com wrote:
MSDN says explicitly the possible values *are* TRUE and FALSE (http://msdn.microsoft.com/en-us/library/windows/desktop/dd374046%28v=vs.85%2...)...
field is not defined as of 'BOOL' type.
Because it defines the field as bitfield WORD:1 to get an unsigned type; Microsoft isn't always consistent about using appropriate field type, especially when using bitfields
On Wed, Feb 26, 2014 at 11:18 AM, Nikolay Sivov bunglehead@gmail.com wrote:
Can you please elaborate?
E.g.
fDiacritic Value indicating if a glyph combines with base characters. Possible values are defined in the following table.
Value Meaning TRUE The glyph does combine with base characters. FALSE The glyph does not combine with base characters.
I don't see how much clearer that could be...
Frédéric
On 2/26/2014 14:47, Frédéric Delanoy wrote:
My point is that you shouldn't use it because structure field type is not BOOL.
On 02/26/2014 11:11 AM, Frédéric Delanoy wrote:
BOOL is a signed integer makes no sense as a type for an 1-bit bitfield. Yes, MS is still using it in some places.
bye michael