Click here to Skip to main content
15,896,207 members

Comments by lilyNaz (Top 31 by date)

lilyNaz 24-Dec-12 4:51am View    
Well I am actually hooking ZwCreateSection and when a PE is going to be executed, I want to check the signature of the PE file so that I can stop unsigned PEs.
lilyNaz 23-Dec-12 3:40am View    
These errors occur only after I add include wintrust.h and as you can see the errors are in wincrypt.h which means that there must be a conflict in my header files with the newly added ones(in here wintrust.h). As I said earlier I am writing a driver.
lilyNaz 23-Dec-12 3:34am View    
>F:\WINDDK\7600.16385.1\inc\api\wincrypt.h(833): error C2146: syntax error : missing ';' before identifier 'dwVersion'
1>F:\WINDDK\7600.16385.1\inc\api\wincrypt.h(833): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>F:\WINDDK\7600.16385.1\inc\api\wincrypt.h(833): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>F:\WINDDK\7600.16385.1\inc\api\wincrypt.h(835): error C2143: syntax error : missing ';' before '*'
1>F:\WINDDK\7600.16385.1\inc\api\wincrypt.h(835): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>F:\WINDDK\7600.16385.1\inc\api\wincrypt.h(835): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>F:\WINDDK\7600.16385.1\inc\api\wincrypt.h(836): error C2146: syntax error : missing ';' before identifier 'cbOID'
1>F:\WINDDK\7600.16385.1\inc\api\wincrypt.h(836): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>F:\WINDDK\7600.16385.1\inc\api\wincrypt.h(836): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>F:\WINDDK\7600.16385.1\inc\api\wincrypt.h(842): error C2143: syntax error : missing ';' before '*'
1>F:\WINDDK\7600.16385.1\inc\api\wincrypt.h(842): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>F:\WINDDK\7600.16385.1\inc\api\wincrypt.h(842): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>F:\WINDDK\7600.16385.1\inc\api\wincrypt.h(843): error C2146: syntax error : missing ';' before identifier 'cbInnerString'
1>F:\WINDDK\7600.16385.1\inc\api\wincrypt.h(843): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>F:\WINDDK\7600.16385.1\inc\api\wincrypt.h(843): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>F:\WINDDK\7600.16385.1\inc\api\wincrypt.h(844): error C2143: syntax error : missing ';' before '*'
1>F:\WINDDK\7600.16385.1\inc\api\wincrypt.h(844): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>F:\WINDDK\7600.16385.1\inc\api\wincrypt.h(844): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>F:\WINDDK\7600.16385.1\inc\api\wincrypt.h(845): error C2146: syntax error : missing ';' before identifier 'cbOuterString'
1>F:\WINDDK\7600.16385.1\inc\api\wincrypt.h(845): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>F:\WINDDK\7600.16385.1\inc\api\wincrypt.h(845): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>F:\WINDDK\7600.16385.1\inc\api\wincrypt.h(850): error C2146: syntax error : missing ';' before identifier 'dwUse'
1>F:\WINDDK\7600.16385.1\inc\api\wincrypt.h(850): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>F:\WINDDK\7600.16385.1\inc\api\wincrypt.h(850): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>F:\WINDDK\7600.16385.1\inc\api\wincrypt.h(852): error C2146: syntax error : missing ';' before identifier 'cBits'
1>F:\WINDDK\7600.16385.1\inc\api\wincrypt.h(852): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>F:\WINDDK\7600.16385.1\inc\api\wincrypt.h(852): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>F:\WINDDK\7600.16385.1\inc\api\wincrypt.h(853): error C2146: syntax error : missing ';' before identifier 'dwFlags'
1>F:\WINDDK\7600.16385.1\inc\api\wincrypt.h(853): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>F:\WINDDK\7600.16385.1\inc\api\wincrypt.h(853): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>F:\WINDDK\7600.16385.1\inc\api\wincrypt.h(854): error C2146: s
lilyNaz 23-Dec-12 3:17am View    
Thank you for the link but I still have the same problem
lilyNaz 23-Dec-12 3:10am View    
I know where wintrust is but my problem is that I cannot include wintrust.h in the driver, because it causes so many errors.