ScsiClassXX on WIndows2000/XP

Hi all,

I am testing a filter NT4.0 driver on Windows 2000/XP to see if it works
but the driver dies with a blue screen during the boot process. The reason
is
that the driver uses the function ScsiClassInterpretSenseInfo. This function
assumes that the DeviceObject passed in as argument 1 contains a valid
PhysicalDevice Object pointer in it’s device extension at offset 48. This
however is not true when I run the driver on WIndows 2000.

So my questions are: I am suppose to be able to run Windows NT 4.0 drivers
on 2000 ? Should I not link with class.lib and/or not use these ScsiClassXXX
functions at all if I want to be compatible with Windows 2000 and XP ? Can I
use something like LoadLibrary/GetProcAddress in kernel mode so I can call
these functions without actually linking in the source code of class.lib
(Hope this
is not a stupid question :)) ?

Thanks all,
Jos.
xxxxx@philips.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com