What is WINVER?

后端 未结 4 1230
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-03 09:54

I was looking at some code and they had this line: #define WINVER 0x0501 in stdafx.h file? Why do you need to define WINVER? How does

4条回答
  •  無奈伤痛
    2020-12-03 10:33

    WINVER means Windows Version. In a nutshell, if you're building for a particular version of Windows, some APIs are available that are not available on previous versions.

提交回复
热议问题