VS2010编译老版本程序的问题 NotifyWinEvent 不是 global namespace 的成员
http://www.codeproject.com/Messages/3490539/VS2010-debug-version-compiles-release-version-does.aspx
// Allow use of features specific to Windows 95 and Windows NT 4 or later.
#ifndef WINVER
#define WINVER 0x0500 <—————– CHANGE HERE from 0x0400 to 0x0500 TO FIX PROBLEM
#endif