Your version of the Windows SDK is earlier than 6.0 Try setting the 'WINVER' and '_WIN32_WINNT' definitions in your project to less than 0x0600 解决方法 (资料收集)
////////////////////////////////////////////////////////////////////////////////////////////////////////////
//在stdafx.h中的最前面添加
////////////////////////////////////////////////////////////////////////////////////////////////////////////
#ifndef WINVER // Specifies that the minimum required platform is Windows Vista.
#define WINVER 0x0500 // Win2k
#endif
#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista.
#define _WIN32_WINNT 0x0500 // Win2k
#endif