'declarator' : a GUID cannot only be associated with a class, interface or namespace
A user-defined structure other than class, interface, or namespace cannot have a GUID.
The following code sample generates C4917:
// compile with cl /c __declspec(uuid("00000000-0000-0000-0000-000000000001")) struct S { } s;