Compiling 2000 compatible driver with DDK 2003

Hi!

I’m trying to compile my driver (running on Windows
2000, Windows XP SP1, SP2), with the new 2003 DDK.
I have a missing function problem.
First I had problem with “PsDereferencePrimaryToken”
and “PsDereferenceImpersonationToken” which changed
from Macros in Windows 2000 DDK to function in 2003
DDK - My solution was to re-define the macro and load
these functions dynamically (with
MmGetSystemRoutineAddress function)
Now I still can not load my driver due to a missing
“_alldvrm” function.
I found a thread from the past regarding this issue
(http://groups-beta.google.com/group/comp.os.ms-windows.programmer.nt.kernel-mode/browse_frm/thread/ea5f8d6dd34b4333/9912cc8d61894a7f?q=_alldvrm&rnum=3#9912cc8d61894a7f)
but I still didn’t understand what is the solution for
the runtime problem - if any.
Generally I was told that it is better to work with
2003 DDK - I will be happy to do so AL TOUGH my driver
should still be running on Windows 2000 machines
I will be happy to know what are my options to do so
(If any…)

Thanks

Alon


Do you Yahoo!?
Plan great trips with Yahoo! Travel: Now over 17,000 guides!
http://travel.yahoo.com/p-travelguide