阅读:12753回复:2
编写sys文件时可以用getlasterror()吗?
我调用时,总是说未定义,包含了windows.h后,就报一大堆错误。
D:\WINDDK\2600\inc\crt\WINBASE.H(293) : error C2146: syntax error : missing ';' before identifier 'CRITICAL_SECTION' D:\WINDDK\2600\inc\crt\WINBASE.H(293) : error C2501: 'CRITICAL_SECTION' : missing storage-class or type specifiers D:\WINDDK\2600\inc\crt\WINBASE.H(294) : error C2146: syntax error : missing ';' before identifier 'PCRITICAL_SECTION' D:\WINDDK\2600\inc\crt\WINBASE.H(294) : error C2501: 'PCRITICAL_SECTION' : missing storage-class or type specifiers D:\WINDDK\2600\inc\crt\WINBASE.H(297) : error C2146: syntax error : missing ';' before identifier 'CRITICAL_SECTION_DEBUG' D:\WINDDK\2600\inc\crt\WINBASE.H(297) : error C2501: 'CRITICAL_SECTION_DEBUG' : missing storage-class or type specifiers D:\WINDDK\2600\inc\crt\WINBASE.H(298) : error C2146: syntax error : missing ';' before identifier 'PCRITICAL_SECTION_DEBUG' D:\WINDDK\2600\inc\crt\WINBASE.H(298) : error C2501: 'PCRITICAL_SECTION_DEBUG' : missing storage-class or type specifiers D:\WINDDK\2600\inc\crt\WINBASE.H(302) : error C2146: syntax error : missing ';' before identifier 'LPLDT_ENTRY' D:\WINDDK\2600\inc\crt\WINBASE.H(302) : error C2501: 'LPLDT_ENTRY' : missing storage-class or type specifiers D:\WINDDK\2600\inc\crt\WINBASE.H(745) : error C2146: syntax error : missing ';' before identifier 'LPCONTEXT' D:\WINDDK\2600\inc\crt\WINBASE.H(745) : error C2501: 'LPCONTEXT' : missing storage-class or type specifiers D:\WINDDK\2600\inc\crt\WINBASE.H(1123) : error C2373: 'InterlockedIncrement' : redefinition; different type modifiers D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(4481) : see declaration of 'InterlockedIncrement' D:\WINDDK\2600\inc\crt\WINBASE.H(1130) : error C2373: 'InterlockedDecrement' : redefinition; different type modifiers D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(4488) : see declaration of 'InterlockedDecrement' D:\WINDDK\2600\inc\crt\WINBASE.H(1138) : error C2373: 'InterlockedExchange' : redefinition; different type modifiers D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(4495) : see declaration of 'InterlockedExchange' D:\WINDDK\2600\inc\crt\WINBASE.H(1149) : error C2373: 'InterlockedExchangeAdd' : redefinition; different type modifiers D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(4505) : see declaration of 'InterlockedExchangeAdd' D:\WINDDK\2600\inc\crt\WINBASE.H(1158) : error C2373: 'InterlockedCompareExchange' : redefinition; different type modifiers D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(4513) : see declaration of 'InterlockedCompareExchange' D:\WINDDK\2600\inc\crt\WINBASE.H(1178) : warning C4005: 'InterlockedCompareExchangePointer' : macro redefinition D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(4520) : see previous definition of 'InterlockedCompareExchangePointer' D:\WINDDK\2600\inc\crt\WINBASE.H(1196) : error C2375: 'InitializeSListHead' : redefinition; different linkage D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(8018) : see declaration of 'InitializeSListHead' D:\WINDDK\2600\inc\crt\WINBASE.H(1203) : error C2373: 'InterlockedPopEntrySList' : redefinition; different type modifiers D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(8208) : see declaration of 'InterlockedPopEntrySList' D:\WINDDK\2600\inc\crt\WINBASE.H(1211) : error C2373: 'InterlockedPushEntrySList' : redefinition; different type modifiers D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(8215) : see declaration of 'InterlockedPushEntrySList' D:\WINDDK\2600\inc\crt\WINBASE.H(1218) : error C2373: 'ExInterlockedFlushSList' : redefinition; different type modifiers D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(8199) : see declaration of 'ExInterlockedFlushSList' D:\WINDDK\2600\inc\crt\WINBASE.H(1225) : error C2059: syntax error : '(' D:\WINDDK\2600\inc\crt\WINBASE.H(1543) : error C2061: syntax error : identifier 'PMEMORY_BASIC_INFORMATION' D:\WINDDK\2600\inc\crt\WINBASE.H(1605) : error C2061: syntax error : identifier 'PMEMORY_BASIC_INFORMATION' D:\WINDDK\2600\inc\crt\WINBASE.H(1748) : error C2061: syntax error : identifier 'HEAP_INFORMATION_CLASS' D:\WINDDK\2600\inc\crt\WINBASE.H(1758) : error C2061: syntax error : identifier 'HEAP_INFORMATION_CLASS' D:\WINDDK\2600\inc\crt\WINBASE.H(1878) : error C2061: syntax error : identifier 'PIO_COUNTERS' D:\WINDDK\2600\inc\crt\WINBASE.H(2247) : error C2061: syntax error : identifier 'LPLDT_ENTRY' D:\WINDDK\2600\inc\crt\WINBASE.H(2373) : error C2061: syntax error : identifier 'LPCONTEXT' D:\WINDDK\2600\inc\crt\WINBASE.H(2381) : error C2143: syntax error : missing ',' before '*' D:\WINDDK\2600\inc\crt\WINBASE.H(4144) : error C2061: syntax error : identifier 'FILE_SEGMENT_ELEMENT' D:\WINDDK\2600\inc\crt\WINBASE.H(4155) : error C2061: syntax error : identifier 'FILE_SEGMENT_ELEMENT' D:\WINDDK\2600\inc\crt\WINBASE.H(7043) : error C2061: syntax error : identifier 'TOKEN_INFORMATION_CLASS' D:\WINDDK\2600\inc\crt\WINBASE.H(7055) : error C2061: syntax error : identifier 'TOKEN_INFORMATION_CLASS' D:\WINDDK\2600\inc\crt\WINBASE.H(7067) : error C2061: syntax error : identifier 'PTOKEN_PRIVILEGES' D:\WINDDK\2600\inc\crt\WINBASE.H(7080) : error C2061: syntax error : identifier 'PTOKEN_GROUPS' D:\WINDDK\2600\inc\crt\WINBASE.H(7564) : error C2065: 'PSID_IDENTIFIER_AUTHORITY' : undeclared identifier D:\WINDDK\2600\inc\crt\WINBASE.H(7564) : error C2146: syntax error : missing ')' before identifier 'pIdentifierAuthority' D:\WINDDK\2600\inc\crt\WINBASE.H(7564) : warning C4229: anachronism used : modifiers on data are ignored D:\WINDDK\2600\inc\crt\WINBASE.H(7564) : error C2491: 'AllocateAndInitializeSid' : definition of dllimport data not allowed D:\WINDDK\2600\inc\crt\WINBASE.H(7575) : error C2059: syntax error : ')' D:\WINDDK\2600\inc\crt\WINBASE.H(7589) : error C2061: syntax error : identifier 'PSID_IDENTIFIER_AUTHORITY' D:\WINDDK\2600\inc\crt\WINBASE.H(7596) : error C2143: syntax error : missing ';' before '__stdcall' D:\WINDDK\2600\inc\crt\WINBASE.H(7596) : error C2501: 'PSID_IDENTIFIER_AUTHORITY' : missing storage-class or type specifiers D:\WINDDK\2600\inc\crt\WINBASE.H(7596) : error C2371: 'PSID_IDENTIFIER_AUTHORITY' : redefinition; different basic types D:\WINDDK\2600\inc\crt\WINBASE.H(7689) : error C2061: syntax error : identifier 'ACL_INFORMATION_CLASS' D:\WINDDK\2600\inc\crt\WINBASE.H(7700) : error C2061: syntax error : identifier 'ACL_INFORMATION_CLASS' D:\WINDDK\2600\inc\crt\WINBASE.H(7889) : error C2061: syntax error : identifier 'PSECURITY_DESCRIPTOR_CONTROL' D:\WINDDK\2600\inc\crt\WINBASE.H(8363) : error C2061: syntax error : identifier 'PSID_NAME_USE' D:\WINDDK\2600\inc\crt\WINBASE.H(8375) : error C2061: syntax error : identifier 'PSID_NAME_USE' D:\WINDDK\2600\inc\crt\WINBASE.H(8393) : error C2061: syntax error : identifier 'PSID_NAME_USE' D:\WINDDK\2600\inc\crt\WINBASE.H(8405) : error C2061: syntax error : identifier 'PSID_NAME_USE' D:\WINDDK\2600\inc\crt\WINBASE.H(8902) : error C2061: syntax error : identifier 'PQUOTA_LIMITS' D:\WINDDK\2600\inc\crt\WINBASE.H(8917) : error C2061: syntax error : identifier 'PQUOTA_LIMITS' D:\WINDDK\2600\inc\crt\WINBASE.H(9013) : error C2061: syntax error : identifier 'TOKEN_TYPE' D:\WINDDK\2600\inc\crt\WINBASE.H(9023) : error C2061: syntax error : identifier 'PSID_AND_ATTRIBUTES' D:\WINDDK\2600\inc\crt\WINBASE.H(9272) : error C2065: 'LPOSVERSIONINFOA' : undeclared identifier D:\WINDDK\2600\inc\crt\WINBASE.H(9273) : error C2146: syntax error : missing ')' before identifier 'lpVersionInformation' D:\WINDDK\2600\inc\crt\WINBASE.H(9273) : warning C4229: anachronism used : modifiers on data are ignored D:\WINDDK\2600\inc\crt\WINBASE.H(9273) : error C2491: 'GetVersionExA' : definition of dllimport data not allowed D:\WINDDK\2600\inc\crt\WINBASE.H(9273) : error C2059: syntax error : ')' D:\WINDDK\2600\inc\crt\WINBASE.H(9278) : error C2065: 'LPOSVERSIONINFOW' : undeclared identifier D:\WINDDK\2600\inc\crt\WINBASE.H(9279) : error C2146: syntax error : missing ')' before identifier 'lpVersionInformation' D:\WINDDK\2600\inc\crt\WINBASE.H(9279) : warning C4229: anachronism used : modifiers on data are ignored D:\WINDDK\2600\inc\crt\WINBASE.H(9279) : error C2491: 'GetVersionExW' : definition of dllimport data not allowed D:\WINDDK\2600\inc\crt\WINBASE.H(9279) : error C2059: syntax error : ')' D:\WINDDK\2600\inc\crt\WINBASE.H(9292) : error C2065: 'LPOSVERSIONINFOEXA' : undeclared identifier D:\WINDDK\2600\inc\crt\WINBASE.H(9292) : error C2146: syntax error : missing ')' before identifier 'lpVersionInformation' D:\WINDDK\2600\inc\crt\WINBASE.H(9292) : warning C4229: anachronism used : modifiers on data are ignored D:\WINDDK\2600\inc\crt\WINBASE.H(9292) : error C2491: 'VerifyVersionInfoA' : definition of dllimport data not allowed D:\WINDDK\2600\inc\crt\WINBASE.H(9295) : error C2059: syntax error : ')' D:\WINDDK\2600\inc\crt\WINBASE.H(9300) : error C2065: 'LPOSVERSIONINFOEXW' : undeclared identifier D:\WINDDK\2600\inc\crt\WINBASE.H(9300) : error C2146: syntax error : missing ')' before identifier 'lpVersionInformation' D:\WINDDK\2600\inc\crt\WINBASE.H(9300) : warning C4229: anachronism used : modifiers on data are ignored D:\WINDDK\2600\inc\crt\WINBASE.H(9300) : error C2491: 'VerifyVersionInfoW' : definition of dllimport data not allowed D:\WINDDK\2600\inc\crt\WINBASE.H(9303) : error C2059: syntax error : ')' D:\WINDDK\2600\inc\crt\WINBASE.H(10059) : error C2065: 'PSYSTEM_NUMA_INFORMATION' : undeclared identifier D:\WINDDK\2600\inc\crt\WINBASE.H(10059) : error C2146: syntax error : missing ')' before identifier 'Map' D:\WINDDK\2600\inc\crt\WINBASE.H(10059) : warning C4229: anachronism used : modifiers on data are ignored D:\WINDDK\2600\inc\crt\WINBASE.H(10059) : error C2491: 'GetNumaProcessorMap' : definition of dllimport data not allowed D:\WINDDK\2600\inc\crt\WINBASE.H(10062) : error C2059: syntax error : ')' D:\WINDDK\2600\inc\crt\WINBASE.H(10068) : error C2146: syntax error : missing ')' before identifier 'Memory' D:\WINDDK\2600\inc\crt\WINBASE.H(10068) : warning C4229: anachronism used : modifiers on data are ignored D:\WINDDK\2600\inc\crt\WINBASE.H(10068) : error C2491: 'GetNumaAvailableMemory' : definition of dllimport data not allowed D:\WINDDK\2600\inc\crt\WINBASE.H(10071) : error C2059: syntax error : ')' Error executing cl.exe. Creating browse info file... drv4.sys - 78 error(s), 12 warning(s) sys文件中怎么得到last error呢? |
|
沙发#
发布于:2008-08-25 14:23
好像以前见过有人写过这样的库的
|
|
板凳#
发布于:2009-03-24 00:11
--------------------Configuration: VHIDMOU - Win32 Checked--------------------
Compiling... vhidmou.cpp D:\WINDDK\2600\inc\crt\WINBASE.H(293) : error C2146: syntax error : missing ';' before identifier 'CRITICAL_SECTION' D:\WINDDK\2600\inc\crt\WINBASE.H(293) : error C2501: 'CRITICAL_SECTION' : missing storage-class or type specifiers D:\WINDDK\2600\inc\crt\WINBASE.H(294) : error C2146: syntax error : missing ';' before identifier 'PCRITICAL_SECTION' D:\WINDDK\2600\inc\crt\WINBASE.H(294) : error C2501: 'PCRITICAL_SECTION' : missing storage-class or type specifiers D:\WINDDK\2600\inc\crt\WINBASE.H(297) : error C2146: syntax error : missing ';' before identifier 'CRITICAL_SECTION_DEBUG' D:\WINDDK\2600\inc\crt\WINBASE.H(297) : error C2501: 'CRITICAL_SECTION_DEBUG' : missing storage-class or type specifiers D:\WINDDK\2600\inc\crt\WINBASE.H(298) : error C2146: syntax error : missing ';' before identifier 'PCRITICAL_SECTION_DEBUG' D:\WINDDK\2600\inc\crt\WINBASE.H(298) : error C2501: 'PCRITICAL_SECTION_DEBUG' : missing storage-class or type specifiers D:\WINDDK\2600\inc\crt\WINBASE.H(302) : error C2146: syntax error : missing ';' before identifier 'LPLDT_ENTRY' D:\WINDDK\2600\inc\crt\WINBASE.H(302) : error C2501: 'LPLDT_ENTRY' : missing storage-class or type specifiers D:\WINDDK\2600\inc\crt\WINBASE.H(745) : error C2146: syntax error : missing ';' before identifier 'LPCONTEXT' D:\WINDDK\2600\inc\crt\WINBASE.H(745) : error C2501: 'LPCONTEXT' : missing storage-class or type specifiers D:\WINDDK\2600\inc\crt\WINBASE.H(1123) : error C2373: 'InterlockedIncrement' : redefinition; different type modifiers D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(4481) : see declaration of 'InterlockedIncrement' D:\WINDDK\2600\inc\crt\WINBASE.H(1130) : error C2373: 'InterlockedDecrement' : redefinition; different type modifiers D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(4488) : see declaration of 'InterlockedDecrement' D:\WINDDK\2600\inc\crt\WINBASE.H(1138) : error C2373: 'InterlockedExchange' : redefinition; different type modifiers D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(4495) : see declaration of 'InterlockedExchange' D:\WINDDK\2600\inc\crt\WINBASE.H(1149) : error C2373: 'InterlockedExchangeAdd' : redefinition; different type modifiers D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(4505) : see declaration of 'InterlockedExchangeAdd' D:\WINDDK\2600\inc\crt\WINBASE.H(1158) : error C2373: 'InterlockedCompareExchange' : redefinition; different type modifiers D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(4513) : see declaration of 'InterlockedCompareExchange' D:\WINDDK\2600\inc\crt\WINBASE.H(1178) : warning C4005: 'InterlockedCompareExchangePointer' : macro redefinition D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(4520) : see previous definition of 'InterlockedCompareExchangePointer' D:\WINDDK\2600\inc\crt\WINBASE.H(1196) : error C2375: 'InitializeSListHead' : redefinition; different linkage D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(8018) : see declaration of 'InitializeSListHead' D:\WINDDK\2600\inc\crt\WINBASE.H(1203) : error C2373: 'InterlockedPopEntrySList' : redefinition; different type modifiers D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(8208) : see declaration of 'InterlockedPopEntrySList' D:\WINDDK\2600\inc\crt\WINBASE.H(1211) : error C2373: 'InterlockedPushEntrySList' : redefinition; different type modifiers D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(8215) : see declaration of 'InterlockedPushEntrySList' D:\WINDDK\2600\inc\crt\WINBASE.H(1218) : error C2373: 'ExInterlockedFlushSList' : redefinition; different type modifiers D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(8199) : see declaration of 'ExInterlockedFlushSList' D:\WINDDK\2600\inc\crt\WINBASE.H(1225) : error C2059: syntax error : '(' D:\WINDDK\2600\inc\crt\WINBASE.H(1543) : error C2061: syntax error : identifier 'PMEMORY_BASIC_INFORMATION' D:\WINDDK\2600\inc\crt\WINBASE.H(1605) : error C2061: syntax error : identifier 'PMEMORY_BASIC_INFORMATION' D:\WINDDK\2600\inc\crt\WINBASE.H(1748) : error C2061: syntax error : identifier 'HEAP_INFORMATION_CLASS' D:\WINDDK\2600\inc\crt\WINBASE.H(1758) : error C2061: syntax error : identifier 'HEAP_INFORMATION_CLASS' D:\WINDDK\2600\inc\crt\WINBASE.H(1878) : error C2061: syntax error : identifier 'PIO_COUNTERS' D:\WINDDK\2600\inc\crt\WINBASE.H(2247) : error C2061: syntax error : identifier 'LPLDT_ENTRY' D:\WINDDK\2600\inc\crt\WINBASE.H(2373) : error C2061: syntax error : identifier 'LPCONTEXT' D:\WINDDK\2600\inc\crt\WINBASE.H(2381) : error C2143: syntax error : missing ',' before '*' D:\WINDDK\2600\inc\crt\WINBASE.H(4144) : error C2061: syntax error : identifier 'FILE_SEGMENT_ELEMENT' D:\WINDDK\2600\inc\crt\WINBASE.H(4155) : error C2061: syntax error : identifier 'FILE_SEGMENT_ELEMENT' D:\WINDDK\2600\inc\crt\WINBASE.H(7043) : error C2061: syntax error : identifier 'TOKEN_INFORMATION_CLASS' D:\WINDDK\2600\inc\crt\WINBASE.H(7055) : error C2061: syntax error : identifier 'TOKEN_INFORMATION_CLASS' D:\WINDDK\2600\inc\crt\WINBASE.H(7067) : error C2061: syntax error : identifier 'PTOKEN_PRIVILEGES' D:\WINDDK\2600\inc\crt\WINBASE.H(7080) : error C2061: syntax error : identifier 'PTOKEN_GROUPS' D:\WINDDK\2600\inc\crt\WINBASE.H(7564) : error C2065: 'PSID_IDENTIFIER_AUTHORITY' : undeclared identifier D:\WINDDK\2600\inc\crt\WINBASE.H(7564) : error C2146: syntax error : missing ')' before identifier 'pIdentifierAuthority' D:\WINDDK\2600\inc\crt\WINBASE.H(7564) : warning C4229: anachronism used : modifiers on data are ignored D:\WINDDK\2600\inc\crt\WINBASE.H(7564) : error C2491: 'AllocateAndInitializeSid' : definition of dllimport data not allowed D:\WINDDK\2600\inc\crt\WINBASE.H(7575) : error C2059: syntax error : ')' D:\WINDDK\2600\inc\crt\WINBASE.H(7589) : error C2061: syntax error : identifier 'PSID_IDENTIFIER_AUTHORITY' D:\WINDDK\2600\inc\crt\WINBASE.H(7596) : error C2143: syntax error : missing ';' before '__stdcall' D:\WINDDK\2600\inc\crt\WINBASE.H(7596) : error C2501: 'PSID_IDENTIFIER_AUTHORITY' : missing storage-class or type specifiers D:\WINDDK\2600\inc\crt\WINBASE.H(7596) : error C2371: 'PSID_IDENTIFIER_AUTHORITY' : redefinition; different basic types D:\WINDDK\2600\inc\crt\WINBASE.H(7689) : error C2061: syntax error : identifier 'ACL_INFORMATION_CLASS' D:\WINDDK\2600\inc\crt\WINBASE.H(7700) : error C2061: syntax error : identifier 'ACL_INFORMATION_CLASS' D:\WINDDK\2600\inc\crt\WINBASE.H(7889) : error C2061: syntax error : identifier 'PSECURITY_DESCRIPTOR_CONTROL' D:\WINDDK\2600\inc\crt\WINBASE.H(8363) : error C2061: syntax error : identifier 'PSID_NAME_USE' D:\WINDDK\2600\inc\crt\WINBASE.H(8375) : error C2061: syntax error : identifier 'PSID_NAME_USE' D:\WINDDK\2600\inc\crt\WINBASE.H(8393) : error C2061: syntax error : identifier 'PSID_NAME_USE' D:\WINDDK\2600\inc\crt\WINBASE.H(8405) : error C2061: syntax error : identifier 'PSID_NAME_USE' D:\WINDDK\2600\inc\crt\WINBASE.H(8902) : error C2061: syntax error : identifier 'PQUOTA_LIMITS' D:\WINDDK\2600\inc\crt\WINBASE.H(8917) : error C2061: syntax error : identifier 'PQUOTA_LIMITS' D:\WINDDK\2600\inc\crt\WINBASE.H(9013) : error C2061: syntax error : identifier 'TOKEN_TYPE' D:\WINDDK\2600\inc\crt\WINBASE.H(9023) : error C2061: syntax error : identifier 'PSID_AND_ATTRIBUTES' D:\WINDDK\2600\inc\crt\WINBASE.H(9272) : error C2065: 'LPOSVERSIONINFOA' : undeclared identifier D:\WINDDK\2600\inc\crt\WINBASE.H(9273) : error C2146: syntax error : missing ')' before identifier 'lpVersionInformation' D:\WINDDK\2600\inc\crt\WINBASE.H(9273) : warning C4229: anachronism used : modifiers on data are ignored D:\WINDDK\2600\inc\crt\WINBASE.H(9273) : error C2491: 'GetVersionExA' : definition of dllimport data not allowed D:\WINDDK\2600\inc\crt\WINBASE.H(9273) : error C2059: syntax error : ')' D:\WINDDK\2600\inc\crt\WINBASE.H(9278) : error C2065: 'LPOSVERSIONINFOW' : undeclared identifier D:\WINDDK\2600\inc\crt\WINBASE.H(9279) : error C2146: syntax error : missing ')' before identifier 'lpVersionInformation' D:\WINDDK\2600\inc\crt\WINBASE.H(9279) : warning C4229: anachronism used : modifiers on data are ignored D:\WINDDK\2600\inc\crt\WINBASE.H(9279) : error C2491: 'GetVersionExW' : definition of dllimport data not allowed D:\WINDDK\2600\inc\crt\WINBASE.H(9279) : error C2059: syntax error : ')' D:\WINDDK\2600\inc\crt\WINBASE.H(9292) : error C2065: 'LPOSVERSIONINFOEXA' : undeclared identifier D:\WINDDK\2600\inc\crt\WINBASE.H(9292) : error C2146: syntax error : missing ')' before identifier 'lpVersionInformation' D:\WINDDK\2600\inc\crt\WINBASE.H(9292) : warning C4229: anachronism used : modifiers on data are ignored D:\WINDDK\2600\inc\crt\WINBASE.H(9292) : error C2491: 'VerifyVersionInfoA' : definition of dllimport data not allowed D:\WINDDK\2600\inc\crt\WINBASE.H(9295) : error C2059: syntax error : ')' D:\WINDDK\2600\inc\crt\WINBASE.H(9300) : error C2065: 'LPOSVERSIONINFOEXW' : undeclared identifier D:\WINDDK\2600\inc\crt\WINBASE.H(9300) : error C2146: syntax error : missing ')' before identifier 'lpVersionInformation' D:\WINDDK\2600\inc\crt\WINBASE.H(9300) : warning C4229: anachronism used : modifiers on data are ignored D:\WINDDK\2600\inc\crt\WINBASE.H(9300) : error C2491: 'VerifyVersionInfoW' : definition of dllimport data not allowed D:\WINDDK\2600\inc\crt\WINBASE.H(9303) : error C2059: syntax error : ')' D:\WINDDK\2600\inc\crt\WINBASE.H(10059) : error C2065: 'PSYSTEM_NUMA_INFORMATION' : undeclared identifier D:\WINDDK\2600\inc\crt\WINBASE.H(10059) : error C2146: syntax error : missing ')' before identifier 'Map' D:\WINDDK\2600\inc\crt\WINBASE.H(10059) : warning C4229: anachronism used : modifiers on data are ignored D:\WINDDK\2600\inc\crt\WINBASE.H(10059) : error C2491: 'GetNumaProcessorMap' : definition of dllimport data not allowed D:\WINDDK\2600\inc\crt\WINBASE.H(10062) : error C2059: syntax error : ')' D:\WINDDK\2600\inc\crt\WINBASE.H(10068) : error C2146: syntax error : missing ')' before identifier 'Memory' D:\WINDDK\2600\inc\crt\WINBASE.H(10068) : warning C4229: anachronism used : modifiers on data are ignored D:\WINDDK\2600\inc\crt\WINBASE.H(10068) : error C2491: 'GetNumaAvailableMemory' : definition of dllimport data not allowed D:\WINDDK\2600\inc\crt\WINBASE.H(10071) : error C2059: syntax error : ')' D:\WINDDK\2600\inc\crt\afx.h(245) : warning C4005: 'ASSERT' : macro redefinition D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(1091) : see previous definition of 'ASSERT' D:\WINDDK\2600\inc\crt\afxtls_.h(119) : error C2146: syntax error : missing ';' before identifier 'm_sect' D:\WINDDK\2600\inc\crt\afxtls_.h(119) : error C2501: 'CThreadSlotData::CRITICAL_SECTION' : missing storage-class or type specifiers D:\WINDDK\2600\inc\crt\afxtls_.h(119) : error C2501: 'CThreadSlotData::m_sect' : missing storage-class or type specifiers D:\WINDDK\2600\inc\crt\COMMDLG.H(892) : error C2504: 'IUnknown' : base class undefined D:\WINDDK\2600\inc\crt\COMMDLG.H(924) : error C2504: 'IUnknown' : base class undefined D:\Program Files\Compuware\DriverStudio\DriverWorks\include\kirp.h(574) : error C2039: 'DeviceCapabilitiesA' : is not a member of '_IO_STACK_LOCATION::__unnamed' D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(11518) : see declaration of '_IO_STACK_LOCATION::__unnamed' D:\Program Files\Compuware\DriverStudio\DriverWorks\include\kirp.h(574) : fatal error C1903: unable to recover from previous error(s); stopping compilation vmoudev.cpp D:\WINDDK\2600\inc\crt\WINBASE.H(293) : error C2146: syntax error : missing ';' before identifier 'CRITICAL_SECTION' D:\WINDDK\2600\inc\crt\WINBASE.H(293) : error C2501: 'CRITICAL_SECTION' : missing storage-class or type specifiers D:\WINDDK\2600\inc\crt\WINBASE.H(294) : error C2146: syntax error : missing ';' before identifier 'PCRITICAL_SECTION' D:\WINDDK\2600\inc\crt\WINBASE.H(294) : error C2501: 'PCRITICAL_SECTION' : missing storage-class or type specifiers D:\WINDDK\2600\inc\crt\WINBASE.H(297) : error C2146: syntax error : missing ';' before identifier 'CRITICAL_SECTION_DEBUG' D:\WINDDK\2600\inc\crt\WINBASE.H(297) : error C2501: 'CRITICAL_SECTION_DEBUG' : missing storage-class or type specifiers D:\WINDDK\2600\inc\crt\WINBASE.H(298) : error C2146: syntax error : missing ';' before identifier 'PCRITICAL_SECTION_DEBUG' D:\WINDDK\2600\inc\crt\WINBASE.H(298) : error C2501: 'PCRITICAL_SECTION_DEBUG' : missing storage-class or type specifiers D:\WINDDK\2600\inc\crt\WINBASE.H(302) : error C2146: syntax error : missing ';' before identifier 'LPLDT_ENTRY' D:\WINDDK\2600\inc\crt\WINBASE.H(302) : error C2501: 'LPLDT_ENTRY' : missing storage-class or type specifiers D:\WINDDK\2600\inc\crt\WINBASE.H(745) : error C2146: syntax error : missing ';' before identifier 'LPCONTEXT' D:\WINDDK\2600\inc\crt\WINBASE.H(745) : error C2501: 'LPCONTEXT' : missing storage-class or type specifiers D:\WINDDK\2600\inc\crt\WINBASE.H(1123) : error C2373: 'InterlockedIncrement' : redefinition; different type modifiers D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(4481) : see declaration of 'InterlockedIncrement' D:\WINDDK\2600\inc\crt\WINBASE.H(1130) : error C2373: 'InterlockedDecrement' : redefinition; different type modifiers D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(4488) : see declaration of 'InterlockedDecrement' D:\WINDDK\2600\inc\crt\WINBASE.H(1138) : error C2373: 'InterlockedExchange' : redefinition; different type modifiers D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(4495) : see declaration of 'InterlockedExchange' D:\WINDDK\2600\inc\crt\WINBASE.H(1149) : error C2373: 'InterlockedExchangeAdd' : redefinition; different type modifiers D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(4505) : see declaration of 'InterlockedExchangeAdd' D:\WINDDK\2600\inc\crt\WINBASE.H(1158) : error C2373: 'InterlockedCompareExchange' : redefinition; different type modifiers D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(4513) : see declaration of 'InterlockedCompareExchange' D:\WINDDK\2600\inc\crt\WINBASE.H(1178) : warning C4005: 'InterlockedCompareExchangePointer' : macro redefinition D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(4520) : see previous definition of 'InterlockedCompareExchangePointer' D:\WINDDK\2600\inc\crt\WINBASE.H(1196) : error C2375: 'InitializeSListHead' : redefinition; different linkage D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(8018) : see declaration of 'InitializeSListHead' D:\WINDDK\2600\inc\crt\WINBASE.H(1203) : error C2373: 'InterlockedPopEntrySList' : redefinition; different type modifiers D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(8208) : see declaration of 'InterlockedPopEntrySList' D:\WINDDK\2600\inc\crt\WINBASE.H(1211) : error C2373: 'InterlockedPushEntrySList' : redefinition; different type modifiers D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(8215) : see declaration of 'InterlockedPushEntrySList' D:\WINDDK\2600\inc\crt\WINBASE.H(1218) : error C2373: 'ExInterlockedFlushSList' : redefinition; different type modifiers D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(8199) : see declaration of 'ExInterlockedFlushSList' D:\WINDDK\2600\inc\crt\WINBASE.H(1225) : error C2059: syntax error : '(' D:\WINDDK\2600\inc\crt\WINBASE.H(1543) : error C2061: syntax error : identifier 'PMEMORY_BASIC_INFORMATION' D:\WINDDK\2600\inc\crt\WINBASE.H(1605) : error C2061: syntax error : identifier 'PMEMORY_BASIC_INFORMATION' D:\WINDDK\2600\inc\crt\WINBASE.H(1748) : error C2061: syntax error : identifier 'HEAP_INFORMATION_CLASS' D:\WINDDK\2600\inc\crt\WINBASE.H(1758) : error C2061: syntax error : identifier 'HEAP_INFORMATION_CLASS' D:\WINDDK\2600\inc\crt\WINBASE.H(1878) : error C2061: syntax error : identifier 'PIO_COUNTERS' D:\WINDDK\2600\inc\crt\WINBASE.H(2247) : error C2061: syntax error : identifier 'LPLDT_ENTRY' D:\WINDDK\2600\inc\crt\WINBASE.H(2373) : error C2061: syntax error : identifier 'LPCONTEXT' D:\WINDDK\2600\inc\crt\WINBASE.H(2381) : error C2143: syntax error : missing ',' before '*' D:\WINDDK\2600\inc\crt\WINBASE.H(4144) : error C2061: syntax error : identifier 'FILE_SEGMENT_ELEMENT' D:\WINDDK\2600\inc\crt\WINBASE.H(4155) : error C2061: syntax error : identifier 'FILE_SEGMENT_ELEMENT' D:\WINDDK\2600\inc\crt\WINBASE.H(7043) : error C2061: syntax error : identifier 'TOKEN_INFORMATION_CLASS' D:\WINDDK\2600\inc\crt\WINBASE.H(7055) : error C2061: syntax error : identifier 'TOKEN_INFORMATION_CLASS' D:\WINDDK\2600\inc\crt\WINBASE.H(7067) : error C2061: syntax error : identifier 'PTOKEN_PRIVILEGES' D:\WINDDK\2600\inc\crt\WINBASE.H(7080) : error C2061: syntax error : identifier 'PTOKEN_GROUPS' D:\WINDDK\2600\inc\crt\WINBASE.H(7564) : error C2065: 'PSID_IDENTIFIER_AUTHORITY' : undeclared identifier D:\WINDDK\2600\inc\crt\WINBASE.H(7564) : error C2146: syntax error : missing ')' before identifier 'pIdentifierAuthority' D:\WINDDK\2600\inc\crt\WINBASE.H(7564) : warning C4229: anachronism used : modifiers on data are ignored D:\WINDDK\2600\inc\crt\WINBASE.H(7564) : error C2491: 'AllocateAndInitializeSid' : definition of dllimport data not allowed D:\WINDDK\2600\inc\crt\WINBASE.H(7575) : error C2059: syntax error : ')' D:\WINDDK\2600\inc\crt\WINBASE.H(7589) : error C2061: syntax error : identifier 'PSID_IDENTIFIER_AUTHORITY' D:\WINDDK\2600\inc\crt\WINBASE.H(7596) : error C2143: syntax error : missing ';' before '__stdcall' D:\WINDDK\2600\inc\crt\WINBASE.H(7596) : error C2501: 'PSID_IDENTIFIER_AUTHORITY' : missing storage-class or type specifiers D:\WINDDK\2600\inc\crt\WINBASE.H(7596) : error C2371: 'PSID_IDENTIFIER_AUTHORITY' : redefinition; different basic types D:\WINDDK\2600\inc\crt\WINBASE.H(7689) : error C2061: syntax error : identifier 'ACL_INFORMATION_CLASS' D:\WINDDK\2600\inc\crt\WINBASE.H(7700) : error C2061: syntax error : identifier 'ACL_INFORMATION_CLASS' D:\WINDDK\2600\inc\crt\WINBASE.H(7889) : error C2061: syntax error : identifier 'PSECURITY_DESCRIPTOR_CONTROL' D:\WINDDK\2600\inc\crt\WINBASE.H(8363) : error C2061: syntax error : identifier 'PSID_NAME_USE' D:\WINDDK\2600\inc\crt\WINBASE.H(8375) : error C2061: syntax error : identifier 'PSID_NAME_USE' D:\WINDDK\2600\inc\crt\WINBASE.H(8393) : error C2061: syntax error : identifier 'PSID_NAME_USE' D:\WINDDK\2600\inc\crt\WINBASE.H(8405) : error C2061: syntax error : identifier 'PSID_NAME_USE' D:\WINDDK\2600\inc\crt\WINBASE.H(8902) : error C2061: syntax error : identifier 'PQUOTA_LIMITS' D:\WINDDK\2600\inc\crt\WINBASE.H(8917) : error C2061: syntax error : identifier 'PQUOTA_LIMITS' D:\WINDDK\2600\inc\crt\WINBASE.H(9013) : error C2061: syntax error : identifier 'TOKEN_TYPE' D:\WINDDK\2600\inc\crt\WINBASE.H(9023) : error C2061: syntax error : identifier 'PSID_AND_ATTRIBUTES' D:\WINDDK\2600\inc\crt\WINBASE.H(9272) : error C2065: 'LPOSVERSIONINFOA' : undeclared identifier D:\WINDDK\2600\inc\crt\WINBASE.H(9273) : error C2146: syntax error : missing ')' before identifier 'lpVersionInformation' D:\WINDDK\2600\inc\crt\WINBASE.H(9273) : warning C4229: anachronism used : modifiers on data are ignored D:\WINDDK\2600\inc\crt\WINBASE.H(9273) : error C2491: 'GetVersionExA' : definition of dllimport data not allowed D:\WINDDK\2600\inc\crt\WINBASE.H(9273) : error C2059: syntax error : ')' D:\WINDDK\2600\inc\crt\WINBASE.H(9278) : error C2065: 'LPOSVERSIONINFOW' : undeclared identifier D:\WINDDK\2600\inc\crt\WINBASE.H(9279) : error C2146: syntax error : missing ')' before identifier 'lpVersionInformation' D:\WINDDK\2600\inc\crt\WINBASE.H(9279) : warning C4229: anachronism used : modifiers on data are ignored D:\WINDDK\2600\inc\crt\WINBASE.H(9279) : error C2491: 'GetVersionExW' : definition of dllimport data not allowed D:\WINDDK\2600\inc\crt\WINBASE.H(9279) : error C2059: syntax error : ')' D:\WINDDK\2600\inc\crt\WINBASE.H(9292) : error C2065: 'LPOSVERSIONINFOEXA' : undeclared identifier D:\WINDDK\2600\inc\crt\WINBASE.H(9292) : error C2146: syntax error : missing ')' before identifier 'lpVersionInformation' D:\WINDDK\2600\inc\crt\WINBASE.H(9292) : warning C4229: anachronism used : modifiers on data are ignored D:\WINDDK\2600\inc\crt\WINBASE.H(9292) : error C2491: 'VerifyVersionInfoA' : definition of dllimport data not allowed D:\WINDDK\2600\inc\crt\WINBASE.H(9295) : error C2059: syntax error : ')' D:\WINDDK\2600\inc\crt\WINBASE.H(9300) : error C2065: 'LPOSVERSIONINFOEXW' : undeclared identifier D:\WINDDK\2600\inc\crt\WINBASE.H(9300) : error C2146: syntax error : missing ')' before identifier 'lpVersionInformation' D:\WINDDK\2600\inc\crt\WINBASE.H(9300) : warning C4229: anachronism used : modifiers on data are ignored D:\WINDDK\2600\inc\crt\WINBASE.H(9300) : error C2491: 'VerifyVersionInfoW' : definition of dllimport data not allowed D:\WINDDK\2600\inc\crt\WINBASE.H(9303) : error C2059: syntax error : ')' D:\WINDDK\2600\inc\crt\WINBASE.H(10059) : error C2065: 'PSYSTEM_NUMA_INFORMATION' : undeclared identifier D:\WINDDK\2600\inc\crt\WINBASE.H(10059) : error C2146: syntax error : missing ')' before identifier 'Map' D:\WINDDK\2600\inc\crt\WINBASE.H(10059) : warning C4229: anachronism used : modifiers on data are ignored D:\WINDDK\2600\inc\crt\WINBASE.H(10059) : error C2491: 'GetNumaProcessorMap' : definition of dllimport data not allowed D:\WINDDK\2600\inc\crt\WINBASE.H(10062) : error C2059: syntax error : ')' D:\WINDDK\2600\inc\crt\WINBASE.H(10068) : error C2146: syntax error : missing ')' before identifier 'Memory' D:\WINDDK\2600\inc\crt\WINBASE.H(10068) : warning C4229: anachronism used : modifiers on data are ignored D:\WINDDK\2600\inc\crt\WINBASE.H(10068) : error C2491: 'GetNumaAvailableMemory' : definition of dllimport data not allowed D:\WINDDK\2600\inc\crt\WINBASE.H(10071) : error C2059: syntax error : ')' D:\WINDDK\2600\inc\crt\afx.h(245) : warning C4005: 'ASSERT' : macro redefinition D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(1091) : see previous definition of 'ASSERT' D:\WINDDK\2600\inc\crt\afxtls_.h(119) : error C2146: syntax error : missing ';' before identifier 'm_sect' D:\WINDDK\2600\inc\crt\afxtls_.h(119) : error C2501: 'CThreadSlotData::CRITICAL_SECTION' : missing storage-class or type specifiers D:\WINDDK\2600\inc\crt\afxtls_.h(119) : error C2501: 'CThreadSlotData::m_sect' : missing storage-class or type specifiers D:\WINDDK\2600\inc\crt\COMMDLG.H(892) : error C2504: 'IUnknown' : base class undefined D:\WINDDK\2600\inc\crt\COMMDLG.H(924) : error C2504: 'IUnknown' : base class undefined D:\Program Files\Compuware\DriverStudio\DriverWorks\include\kirp.h(574) : error C2039: 'DeviceCapabilitiesA' : is not a member of '_IO_STACK_LOCATION::__unnamed' D:\WINDDK\2600\inc\ddk\wdm\wxp\wdm.h(11518) : see declaration of '_IO_STACK_LOCATION::__unnamed' D:\Program Files\Compuware\DriverStudio\DriverWorks\include\kirp.h(574) : fatal error C1903: unable to recover from previous error(s); stopping compilation Generating Code... Error executing cl.exe. VHIDMOU.sys - 170 error(s), 18 warning(s) The following environment variables were not found $(TARGET_LIB_PATH) $(CRT_INC_PATH) $(TARGET_INC_PATH) $(DDK_INC_PATH) $(WDM_INC_PATH) $(BASEDIR) $(DRIVERWORKS) |
|
|