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 C2489

'identifier' : initialized auto or register variable not allowed at function scope in 'naked' function

Example

__declspec( naked ) int func() 
{
   int i = 1;            // error
   register int j = 1;   // error
}