Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/visual-studio-2010/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Visual studio 2010 修改的winnt.h_Visual Studio 2010_Visual Studio - Fatal编程技术网

Visual studio 2010 修改的winnt.h

Visual studio 2010 修改的winnt.h,visual-studio-2010,visual-studio,Visual Studio 2010,Visual Studio,我在visual studio 2010中意外更改了此文件 C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winnt.h 我在这里修改了arround: 1082 extern "C++" // templates cannot be declared to have 'C' linkage 1083 template <typedef T, size_t N> 1084 char (*RtlpNumberO

我在visual studio 2010中意外更改了此文件

C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winnt.h
我在这里修改了arround:

1082 extern "C++" // templates cannot be declared to have 'C' linkage
1083 template <typedef T, size_t N>
1084 char (*RtlpNumberOf( UNALIGNED T (&)[N] ))[N];
1085
1086 #define RTL_NUMBER_OF_V2(A) (sizeof(*RtlpNumberOf(A)))
1082 extern“C++”//模板不能声明为具有“C”链接
1083模板
1084字符(*RtlpNumberOf(未对齐的T(&)[N]))[N];
1085
1086 35;定义2(A)的RTL#U编号(sizeof(*RtlpNumberOf(A))的RTL#U编号)
如果有人有这个文件的相同版本,你能给我发送这个部分的好代码吗


提前感谢

刚刚在其他地方找到了来源。问题是

template <typedef T, size_t N>
模板
应该是模板

template <typename T, size_t N>
模板