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 3) C4341

'value' : signed value is out of range for enum constant

An enumerated constant exceeds the limit for an int. The value of the illegal constant is undefined. Constants must resolve to integers between – 32,768 and +32,767 (signed) or 0 and +65,535 (unsigned).

Example

enum ELEMENTS
{
   Hydrogen = 1,
   Helium,
   Lithium,
   Beryllium,
   Impossibillium = 500000
} ;