Answer

专注于Mobile,WinCE
  首页  :: 新随笔  :: 联系 :: 管理
If you've got stdafx.h, try removing the following line if you have it.

#define WIN32_LEAN_AND_MEAN

Also note that MSDN says:

"To compile an application that uses this function, define

_WIN32_WINNT as 0x0403 or later"