Build Log
--------------------Configuration: Main - Win32 Debug--------------------
Command Lines
Creating temporary file "D:\DOCUME~1\A-MANC~1\LOCALS~1\Temp\RSP33.tmp" with contents
[
/nologo /MLd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Fp"Debug/Main.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c
"D:\eventtrace\UserModeProvider\Main.cpp"
]
Creating command line "cl.exe @"D:\DOCUME~1\A-MANC~1\LOCALS~1\Temp\RSP33.tmp""
Output Window
Compiling...
Main.cpp
d:\nt\public\sdk\inc\wmistr.h(31) : error C2146: syntax error : missing ';' before identifier 'ProviderId'
d:\nt\public\sdk\inc\wmistr.h(31) : error C2501: 'ULONG_PTR' : missing storage-class or type specifiers
d:\nt\public\sdk\inc\wmistr.h(31) : error C2501: 'ProviderId' : missing storage-class or type specifiers
d:\nt\public\sdk\inc\wmistr.h(302) : error C2146: syntax error : missing ';' before identifier 'Pdo'
d:\nt\public\sdk\inc\wmistr.h(302) : error C2501: 'ULONG_PTR' : missing storage-class or type specifiers
d:\nt\public\sdk\inc\wmistr.h(302) : error C2501: 'Pdo' : missing storage-class or type specifiers
d:\nt\public\sdk\inc\wmistr.h(307) : error C2146: syntax error : missing ';' before identifier 'InstanceInfo'
d:\nt\public\sdk\inc\wmistr.h(307) : error C2501: 'ULONG_PTR' : missing storage-class or type specifiers
d:\nt\public\sdk\inc\wmistr.h(307) : error C2501: 'InstanceInfo' : missing storage-class or type specifiers
d:\nt\public\sdk\inc\guiddef.h(155) : error C2084: function 'int __cdecl IsEqualGUID(const struct _GUID &,const struct _GUID &)' already has a body
d:\nt\public\sdk\inc\guiddef.h(188) : error C2084: function 'int __cdecl operator ==(const struct _GUID &,const struct _GUID &)' already has a body
d:\nt\public\sdk\inc\guiddef.h(193) : error C2084: function 'int __cdecl operator !=(const struct _GUID &,const struct _GUID &)' already has a body
d:\nt\public\sdk\inc\guiddef.h(194) : error C2264: '==' : error in function definition or declaration; function not called
d:\nt\public\sdk\inc\guiddef.h(194) : error C2088: '==' : illegal for struct
d:\eventtrace\usermodeprovider\main.cpp(191) : error C2440: '=' : cannot convert from 'struct _TRACE_GUID_REGISTRATION *' to 'struct _TRACE_GUID_REGISTRATION *[10]'
There are no conversions to array types, although there are conversions to references or pointers to arrays
d:\eventtrace\usermodeprovider\main.cpp(215) : error C2664: 'RegisterTraceGuidsA' : cannot convert parameter 1 from 'unsigned long (WMIDPREQUESTCODE,void *,unsigned long *,void *)' to 'unsigned long (__stdcall *)(WMIDPREQUESTCODE,void *,unsigned long *,void *)'
None of the functions with this name in scope match the target type
d:\eventtrace\usermodeprovider\main.cpp(220) : warning C4508: 'main' : function should return a value; 'void' return type assumed
d:\eventtrace\usermodeprovider\main.cpp(276) : error C2440: '=' : cannot convert from 'struct _TRACE_GUID_REGISTRATION *' to 'struct _TRACE_GUID_REGISTRATION *[10]'
There are no conversions to array types, although there are conversions to references or pointers to arrays
d:\eventtrace\usermodeprovider\main.cpp(333) : error C2664: 'TraceEventInstance' : cannot convert parameter 2 from 'struct _EVENT_TRACE_HEADER *' to 'struct _EVENT_INSTANCE_HEADER *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Error executing cl.exe.
Results
Main.obj - 18 error(s), 1 warning(s)