[Flags]
enum SHELLFLAGSTATE : long
{
fShowAllObjects = 0x00000001,
fShowExtensions = 0x00000002,
fNoConfirmRecycle = 0x00000004,
fShowSysFiles = 0x00000008,
fShowCompColor = 0x00000010,
fDoubleClickInWebView = 0x00000020,
fDesktopHTML = 0x00000040,
fWin95Classic = 0x00000080,
fDontPrettyPath = 0x00000100,
fShowAttribCol = 0x00000200,
fMapNetDrvBtn = 0x00000400,
fShowInfoTip = 0x00000800,
fHideIcons = 0x00001000,
}
Enum SHELLFLAGSTATE : Long
TODO
End Enum
The size of the structure in C is not defined (because it is a bitfield) and will vary from compiler to compiler. It is 32 bits on Windows XP, but it is possible that the size is 64 bits on Windows 64 (not tested). Therefore use long for the type of the enum to be on the safe side.