NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Warning (level 1) C4917

'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;