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 Error C3139

'struct' : cannot export a UDT without members

You attempted to apply the export attribute to an empty UDT (user-defined type). For example:

#include "unknwn.h"
[emitidl];
[module(name=xx)];

[export] struct MyStruct {   // empty type
};
void main(){}