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!

Fatal Error C1020

unexpected #endif

The #endif directive has no matching #if, #ifdef, or #ifndef directive. Be sure each #endif has a matching directive. The following sample generates C1020:

// uncomment the below line to resolve the error
// #if 1
#endif   // C1020

void main() {
}