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 C2345

align(value) : illegal alignment value

You passed a value to the align keyword that is outside the allowable range.

For example, the following code generates C2345 because 1 is the smallest allowable number you can pass:

// compile with cl /c
__declspec(align(0)) int a;