Problem solved. I think.

I first tried redefining in the source file containing the function but that didn't work.

#define _WIN32_IE 0x0600

So then I looked in stdafx.h and found it was defined as 0x0400.

I redefined it there by changing it to 0x0600 and now the compilation recognizes Command. However, it is still barking on CmdRespNone.