struct Win32Structure demo¶
struct Win32Structure { … }
A structure demonstrating anonymous unions and structs.
This example shows how to document a struct that contains anonymous nested union and struct members, allowing multiple ways to access the same underlying data (e.g., individual fields vs. a combined value).
union (Anonymous union at library.hpp:340:9) ¶
union { … }
struct (Anonymous struct at library.hpp:342:13) ¶
struct { … }
variable field1 ¶
uint16_t field1
Defined at library.hpp:344
variable field2 ¶
uint16_t field2
Defined at library.hpp:345
Defined at library.hpp:342
variable combined ¶
uint32_t combined
Defined at library.hpp:347
Defined at library.hpp:340
Defined at library.hpp:338