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.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…