用VC6.0编译DDK例子遇到的问题
在包含头文件ntddk.h时遇到这样的编译错误,请问是什么原因?
f:\develop\ddk2\inc\ddk\ntddk.h(370) : error C2146: syntax error : missing ';' before identifier 'Lock'
f:\develop\ddk2\inc\ddk\ntddk.h(370) : error C2501: 'PULONG_PTR' : missing storage-class or type specifiers
f:\develop\ddk2\inc\ddk\ntddk.h(370) : error C2501: 'Lock' : missing storage-class or type specifiers
f:\develop\ddk2\inc\ddk\ntddk.h(824) : error C2146: syntax error : missing ';' before identifier 'KSPIN_LOCK'
f:\develop\ddk2\inc\ddk\ntddk.h(824) : fatal error C1004: unexpected end of file found