what is SDKDDKVer.h for?

前端 未结 2 1091
太阳男子
太阳男子 2020-12-05 14:29

All project created with MSVC have stdafx, which is precompiled headers, which I know what they are but what about targetver.h ? It includes SDKDDKVer.h, and I can\'t find w

2条回答
  •  醉话见心
    2020-12-05 14:48

    targetver.h and SDKDDKVer.h are used to control what functions, constants, etc. are included into your code from the Windows headers, based on the OS that you want your program to support. I believe that targetver.h sets defaults to using the latest version of Windows unless the defines are specified elsewhere.

    SDKDDKVer.h is the header file that actually defines the #defines that represent each version of Windows, IE, etc.

提交回复
热议问题