Does anybody know, can one conditionally define structures in FASM?
That is how to translate to FASM the following?:
typedef struct tagTVINSERTSTRUCTA {
HTREEITEM hParent;
HTREEITEM hInsertAfter;
#if (_WIN32_IE >= 0x0400)
union
{
TVITEMEXA itemex;
TV_ITEMA item;
} DUMMYUNIONNAME;
#else
TV_ITEMA item;
#endif
} TVINSERTSTRUCTA, *LPTVINSERTSTRUCTA;
Now I define multiple versions of structures. It is not convenient, especially in case of modification of the structure.
This is not related to Windows only, but to any other complex system.