The real question is: is it compiled with the same msvc compiler that ships in the SDK? If so, they don’t even use C99. C89 all the way. That especially means no variable declaration anywhere in the function body.
ISO C support has been improved to the extent required by ISO C++ compatibility requirements to ISO C.