   Platform Info not working anymore under WinSDK7
  As Enerjak posted here already, the function described in the MSDN help doesnt work anymore once you installed the newest "Windows SDK for Windows7". The problem lies in some missing definitions of macros in the WinNt.h file.http://www.gamedev.net/community/forums/topic.asp?topic_id=535847The solution to this problem though is fortunately quite simple and compatible with all supported version of Visual Studio and Windows.Since those macros are only memory offsets and dont link to some code, you can simply define them yourself in your own code and everything will work fine again.Here is my work-around code which also detects if the older WindowsSDK is present during the compilation:// Product types// This list grows with each OS release.//// There is no ordering of values to ensure callers// do an equality test i.e. greater-than and less-than// comparisons are not useful.//// NOTE: Values in this list should never be deleted.//  When a product-type 'X' gets dropped from a//  OS release onwards, the value of 'X' continues//  to be used in the mapping table of GetProductInfo.//#ifndef PRODUCT_ULTIMATE    #define PRODUCT_UNDEFINED   0x00000000    #define PRODUCT_ULTIMATE    0x00000001    #define PRODUCT_HOME_BASIC  0x00000002    #define PRODUCT_HOME_PREMIUM0x00000003    #define PRODUCT_ENTERPRISE  0x00000004    #define PRODUCT_HOME_BASIC_N0x00000005    #define PRODUCT_BUSINESS    0x00000006    #define PRODUCT_STANDARD_SERVER  0x00000007    #define PRODUCT_DATACENTER_SERVER0x00000008    #define PRODUCT_SMALLBUSINESS_SERVER  0x00000009    #define PRODUCT_ENTERPRISE_SERVER0x0000000A    #define PRODUCT_STARTER0x0000000B    #define PRODUCT_DATACENTER_SERVER_CORE0x0000000C    #define PRODUCT_STANDARD_SERVER_CORE  0x0000000D    #define PRODUCT_ENTERPRISE_SERVER_CORE0x0000000E    #define PRODUCT_ENTERPRISE_SERVER_IA640x0000000F    #define PRODUCT_BUSINESS_N  0x00000010    #define PRODUCT_WEB_SERVER  0x00000011    #define PRODUCT_CLUSTER_SERVER   0x00000012    #define PRODUCT_HOME_SERVER 0x00000013    #define PRODUCT_STORAGE_EXPRESS_SERVER0x00000014    #define PRODUCT_STORAGE_STANDARD_SERVER    0x00000015    #define PRODUCT_STORAGE_WORKGROUP_SERVER   0x00000016    #define PRODUCT_STORAGE_ENTERPRISE_SERVER  0x00000017    #define PRODUCT_SERVER_FOR_SMALLBUSINESS   0x00000018    #define PRODUCT_SMALLBUSINESS_SERVER_PREMIUM    0x00000019    #define PRODUCT_UNLICENSED  0xABCDABCD#endifEnjoy :)   