Tech Support > Microsoft Windows > Drivers > Porting issues AVsream Driver from windows XP to windows 2000!!!!!
Porting issues AVsream Driver from windows XP to windows 2000!!!!!
Posted by darshan.tapdia@gmail.com on June 26th, 2006


Hello,
I have written AVstream minidriver for windows xp and it functions
fine.
Now, i want same driver to be used for windows 2000 too.
So,
1)Does XP AVstream minidriver is binary compatible to
windows 2000? Becasue XP ddk has a sample "avssamp" which works fine on
windows 2000. i just loded its binary, with rebuilding it for 2000.(
relase notes for the sample also notifies same)
But in my case my driver built fop Xp doesnt load!!!!

2) Is it possible by making some changes same driver would
be ported to windows
2000?if yes, what could be the changes.

3) Do any service pack on windows 2000 has added support to
avstream?

4)Do i have to rewrite whole driver as a stream class driver
for windows 2000?

5) does same application will work for both types of driver?


Please guide me for an effective implemetation,
Thanks & rgds,
Darshan

Posted by Maxim S. Shatskih on June 26th, 2006


Write for w2k, this should solve the issue.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com

<darshan.tapdia@gmail.com> wrote in message
news:1151307162.084187.237830@i40g2000cwc.googlegr oups.com...

Posted by darshan.tapdia@gmail.com on June 29th, 2006


Thanks maxim,
But there isnt way to port XP driver to win 2k?
Regards,
darshan
Maxim S. Shatskih wrote:

Posted by Tim Roberts on June 30th, 2006


darshan.tapdia@gmail.com wrote:
It isn't necessary. You can use the Win2K build environment to identify
the few kernel APIs that aren't supported, and there are substitutes for
most of those. That's it. AVStream works just the same.
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.

Posted by darshan.tapdia@gmail.com on June 30th, 2006





Thanks Tim,
I tried compiling avstream driver and got compilation error for
structure "KSDEVICE" & "KSPIN" can u suggest some thing to get rid of
this problem.i tried lot of ways but dint get out of thid problem.
Thanks
Darshan





Tim Roberts wrote:

Posted by Tim Roberts on July 1st, 2006


darshan.tapdia@gmail.com wrote:
You're right, I gave you bad advice. You have to use the Windows XP build
environment. However, as long as you have installed the DirectX 9 runtime
on your Windows 2000 machine, your AVStream driver should run.

It does mean you have to be conscious of the non-AVStream APIs that might
not be preset on Win2k, but the typicaly AVStream driver doesn't use very
many. You can search for them using findstr.
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.