Home Dashboard Directory Help

NTDDI_WIN7SP1 is missing from 8.0 sdkddkver.h by Dan at Bentley


 as External Help for as External

Sign in
to vote
Type: Bug
ID: 777804
Opened: 1/29/2013 2:30:43 PM
Access Restriction: Public
User(s) can reproduce this bug


In "Windows Kits\8.0\Include\um\winbase.h", there is this check:


It controls whether the CopyContext function is pulled in for desktop apps. The NTDDI_WIN7SP1 definition is no where to be found in the SDK. It seems to be missing from "Windows Kits\8.0\Include\shared\sdkddkver.h". Adding it as:

#define NTDDI_WIN7SP1                     0x06010100

solved a problem I was having with my own definition of CopyContext in a header generated from IDL. Please fix this!

Also update http://msdn.microsoft.com/en-us/library/windows/desktop/aa383745(v=vs.85).aspx. This page also needs some work in the "Windows 7 with SP1" note regarding VS2012: http://msdn.microsoft.com/en-us/library/windows/desktop/hh134234(v=VS.85).aspx.
Sign in to post a comment.
Posted by Microsoft on 2/20/2013 at 5:15 PM
Thank you for your bug submission. The issue you reported appears to be on a released Windows Product. If this issue is severe, causing critical business situations or blocking your product development or deployment, please go to http://support.microsoft.com or call 1-800-MICROSOFT for assistance. For Microsoft premier customers, please contact your administrator, your Technical Account Manager, or your Microsoft premier account representative.
To post a question or receive community support for developing Windows Store apps, consider posting your question or concern on the Windows Store apps forum. http://social.msdn.microsoft.com/Forums/en-US/category/windowsapps

Visual C++ Team
Posted by Microsoft on 1/29/2013 at 10:00 PM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Microsoft on 1/29/2013 at 2:51 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.
Posted by Dan at Bentley on 2/21/2013 at 8:08 AM
We are including -DNTDDI_WIN7SP1=0x06010100 in our C++ compiler options when building with VS2012/8.0 SDK.