Hi!
I’m writing a driver that uses the macro
“SeDeleteClientSecurity”.
In 2K ddk it’s a macro to other macro
“PsDereferenceImpersonationToken” and in XP/2003 it’s
a function (PsDereferenceImpersonationToken).
When I compiled my driver with XP/2003 DDK I didn’t
succeeded to run it on Windows 2000 machine since
ntoskrnl doesn’t has this function so windows fail to
load my driver.
I thought about 2 solutions:
- Dynamic load of this function - Like LoadLibrary in
User mode(possible? - don’t know about it)
- Maybe there is a DDK 2000 compatibility flag?
I’ll be very happy to get help with this issue…
Thanks
Alon
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
> 2. Maybe there is a DDK 2000 compatibility flag?
Yes. Use the w2k build environment of the DDK in you need w2k-compatible
binary.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
So There is no way for me to compile a Windows 2000
Compatible driver with the 2003 DDK?
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
Alon Elhanani wrote:
So There is no way for me to compile a Windows 2000
Compatible driver with the 2003 DDK?
Use the Windows 2000 checked/free build environment.
In case you are using the ddkbuild script, the command line is:
ddkbuild.cmd -WNETW2K checked .
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@bitdefender.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
–
Ignorance more frequently begets confidence than does knowledge.
— Charles Darwin
–
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://linux.bitdefender.com/