I need a help, explanation regarding C structs.
struct name and elements for testing purpose, not real just to understand for proper conversion.
Especially this " __C89_NAMELESS union" part not clear to interpret structures
Thanks in advance.
Code: Select all
typedef struct _ABCD {
ABC1 E;
__C89_NAMELESS union { ; - this line is unclear (__C89_NAMELESS union)
struct {
ULONG F;
} E1;
} G;
} ABCD, *PABCD; - this line is clear and understood
typedef struct _ZXCV {
_ZXCVB ZXCVB;
__C89_NAMELESS union {
struct {
ULONGLONG A;
ULONG B;
} ZZZZ;
GUID ID;
struct {
BOOL CBool;
WCHAR DBuffer[1];
} XXXX;
GUID PID;
_ABCD ABCD ;
} DUMMYUNIONNAME; - And this line is unclear (DUMMYUNIONNAME)
} ZXCV, *PZXCV;