This statement defines a C-style structure.
typedef [attributes]
struct [tag] {
memberlist
} structname;
The struct keyword must be preceded with a typedef. The structure description must precede other references to the structure in the library. Members of a struct can be of any built-in type, or any type defined lexically as a typedef before the struct. For a description of how strings and arrays can be entered, see the sections "String Definitions" and "Array Definitions" earlier in this chapter.
typedef [uuid(BFB7334B-822A-1068-8849-00DD011087E8),
helpstring("A task"), helpcontext(1019)]
struct {
DATE startdate;
DATE enddate;
BSTR ownername;
SAFEARRAY (int) subtasks;
int A_C_array[10];
} TASKS;