Forum > Windows

shlobj.pp SHELLFLAGSTATE definition problem

<< < (2/2)

Thaddy:
In this case I would leave it as is.

PascalDragon:

--- Quote from: Thaddy on August 03, 2025, 02:07:20 pm ---Which is word since 16 bit windows....

--- End quote ---

BOOL is declared as typedef int BOOL in WinDef.h and on 32-bit (and 64-bit) systems int is 32-bit.

What is defined smaller is BOOLEAN, but that is defined as typedef BYTE BOOLEAN (in WinNT.h), so it's 8-bit.


--- Quote from: Thaddy on August 03, 2025, 05:24:02 pm ---In this case I would leave it as is.

--- End quote ---

No, because that makes the record's declaration broken compared to the C struct's declaration.

Navigation

[0] Message Index

[*] Previous page

Go to full version