编译错误:
-------------------Configuration: ceshi - Win32 Debug--------------------
Compiling...
ceshi.cpp
c:\documents and settings\administrator\桌面\ceshi\winio.h(14) : error C2143: syntax error : missing ';' before '__stdcall'
c:\documents and settings\administrator\桌面\ceshi\winio.h(14) : error C2501: 'PBYTE' : missing storage-class or type specifiers
c:\documents and settings\administrator\桌面\ceshi\winio.h(14) : error C2146: syntax error : missing ')' before identifier 'pbPhysAddr'
c:\documents and settings\administrator\桌面\ceshi\winio.h(14) : warning C4229: anachronism used : modifiers on data are ignored
c:\documents and settings\administrator\桌面\ceshi\winio.h(14) : error C2501: 'MapPhysToLin' : missing storage-class or type specifiers
c:\documents and settings\administrator\桌面\ceshi\winio.h(14) : error C2059: syntax error : ')'
c:\documents and settings\administrator\桌面\ceshi\winio.h(15) : error C2065: 'HANDLE' : undeclared identifier
c:\documents and settings\administrator\桌面\ceshi\winio.h(15) : error C2146: syntax error : missing ')' before identifier 'PhysicalMemoryHandle'
c:\documents and settings\administrator\桌面\ceshi\winio.h(15) : warning C4229: anachronism used : modifiers on data are ignored
c:\documents and settings\administrator\桌面\ceshi\winio.h(15) : error C2491: 'UnmapPhysicalMemory' : definition of dllimport data not allowed
c:\documents and settings\administrator\桌面\ceshi\winio.h(15) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
c:\documents and settings\administrator\桌面\ceshi\winio.h(15) : error C2059: syntax error : ')'
c:\documents and settings\administrator\桌面\ceshi\winio.h(16) : error C2146: syntax error : missing ')' before identifier 'pbPhysAddr'
c:\documents and settings\administrator\桌面\ceshi\winio.h(16) : warning C4229: anachronism used : modifiers on data are ignored
c:\documents and settings\administrator\桌面\ceshi\winio.h(16) : error C2491: 'GetPhysLong' : definition of dllimport data not allowed
c:\documents and settings\administrator\桌面\ceshi\winio.h(16) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
c:\documents and settings\administrator\桌面\ceshi\winio.h(16) : error C2059: syntax error : ')'
c:\documents and settings\administrator\桌面\ceshi\winio.h(17) : error C2146: syntax error : missing ')' before identifier 'pbPhysAddr'
c:\documents and settings\administrator\桌面\ceshi\winio.h(17) : warning C4229: anachronism used : modifiers on data are ignored
c:\documents and settings\administrator\桌面\ceshi\winio.h(17) : error C2491: 'SetPhysLong' : definition of dllimport data not allowed
c:\documents and settings\administrator\桌面\ceshi\winio.h(17) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
c:\documents and settings\administrator\桌面\ceshi\winio.h(17) : error C2059: syntax error : ')'
c:\documents and settings\administrator\桌面\ceshi\winio.h(18) : error C2065: 'WORD' : undeclared identifier
c:\documents and settings\administrator\桌面\ceshi\winio.h(18) : error C2146: syntax error : missing ')' before identifier 'wPortAddr'
c:\documents and settings\administrator\桌面\ceshi\winio.h(18) : warning C4229: anachronism used : modifiers on data are ignored
c:\documents and settings\administrator\桌面\ceshi\winio.h(18) : error C2491: 'GetPortVal' : definition of dllimport data not allowed
c:\documents and settings\administrator\桌面\ceshi\winio.h(18) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
c:\documents and settings\administrator\桌面\ceshi\winio.h(18) : error C2059: syntax error : ')'
c:\documents and settings\administrator\桌面\ceshi\winio.h(19) : error C2146: syntax error : missing ')' before identifier 'wPortAddr'
c:\documents and settings\administrator\桌面\ceshi\winio.h(19) : warning C4229: anachronism used : modifiers on data are ignored
c:\documents and settings\administrator\桌面\ceshi\winio.h(19) : error C2491: 'SetPortVal' : definition of dllimport data not allowed
c:\documents and settings\administrator\桌面\ceshi\winio.h(19) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
c:\documents and settings\administrator\桌面\ceshi\winio.h(19) : error C2059: syntax error : ')'
c:\documents and settings\administrator\桌面\ceshi\winio.h(20) : error C2065: 'PSTR' : undeclared identifier
c:\documents and settings\administrator\桌面\ceshi\winio.h(20) : error C2146: syntax error : missing ')' before identifier 'pszWinIoDriverPath'
c:\documents and settings\administrator\桌面\ceshi\winio.h(20) : warning C4229: anachronism used : modifiers on data are ignored
c:\documents and settings\administrator\桌面\ceshi\winio.h(20) : error C2491: 'InstallWinIoDriver' : definition of dllimport data not allowed
c:\documents and settings\administrator\桌面\ceshi\winio.h(20) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
c:\documents and settings\administrator\桌面\ceshi\winio.h(20) : error C2059: syntax error : ')'
c:\documents and settings\administrator\桌面\ceshi\winio.h(25) : error C2146: syntax error : missing ';' before identifier 'hDriver'
c:\documents and settings\administrator\桌面\ceshi\winio.h(25) : fatal error C1004: unexpected end of file found
执行 cl.exe 时出错.