How to Port Window 2000 driver to windows 98.

I am new to Device driver dev. on Windows 98 ,I found that there is very
less docs. on Windows 98 DDK.

Can I build a VXD for win 98 from the NT based source code of device
driver ?? What modifications are necessary ,I know WDM but the question
is do 98 and NT have common Kernel mode API set ??

Where can I find good docs like OSR’s NT driver docs. on net ??
one more q. How can I load a VXD from user mode application ???(I know how
to load a sys driver from user application on NT/2000.)

Please help me out…
Thanx for giving me time…Good DaY!

Pawar

> I am new to Device driver dev. on Windows 98 ,I found that

there is very less docs. on Windows 98 DDK.

Can I build a VXD for win 98 from the NT based source code of
device driver ?? What modifications are necessary ,I know
WDM but the question is do 98 and NT have common Kernel mode
API set ??

In general, no, the APIs are completely different. Specifically, it
depends on what KIND of driver you are writing. There are certain
classes of drivers that can be built for both platforms from a common
codebase. Can you provide more information on what your driver does?

You cannot write VxD and Win2k drive based on the same code base. However,
you can write WDM driver and most miniport driver based on the same code
base. I think if you use Numega’s DriverWork, it will save you a lot of
trouble. But you may end up with something not fully utilizing the Win2k, XP
features.

If you are developing driver for new hardware, tell your boss that there is
no need for win98/winme. They are on the way out. M$ will not support it any
more. All new consumer PC will have XP installed. All corporate PC will have
at least Win2k installed. For people who kept old PC for more than 2 years,
they are all cheapy and they are not going to buy whatever your new
hardware. Don’t waste your money, time, and effort. It is not worth it.

Bi

-----Original Message-----
From: Nicholas Ryan [mailto:xxxxx@nryan.com]
Sent: Friday, September 13, 2002 2:28 PM
To: NT Developers Interest List
Subject: [ntdev] RE: How to Port Window 2000 driver to windows 98.

I am new to Device driver dev. on Windows 98 ,I found that
there is very less docs. on Windows 98 DDK.

Can I build a VXD for win 98 from the NT based source code of
device driver ?? What modifications are necessary ,I know
WDM but the question is do 98 and NT have common Kernel mode
API set ??

In general, no, the APIs are completely different. Specifically, it
depends on what KIND of driver you are writing. There are certain
classes of drivers that can be built for both platforms from a common
codebase. Can you provide more information on what your driver does?


You are currently subscribed to ntdev as: xxxxx@appstream.com
To unsubscribe send a blank email to %%email.unsub%%

Pawar,

Some device classes – in particular, network devices – port over
without too much trouble (ignoring IM drivers for the moment). The
biggest difference is in the .INF file. Some functions may not be
available and their use may cause your driver not to load. You would use
the Windows 2000 DDK or the Windows XP DDK using the Win2K build
environment to build your driver. To discover functions that are not
supported, copy the debug version of VxDLDR.VxD to the
Windows\System\VMM32 folder. It will emit debug spew to the debug
console (RTERM98) if the driver cannot be loaded because of this.

If you are building a network device, let me know and I can forward you
a list of things to be aware of when porting network devices from XP/2K
to 9x/ME. If you are building a different class device, please post to
the group your device class, etc.

Bryan S. Burgin
xxxxx@microsoft.com

This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: Pawar [mailto:xxxxx@rediffmail.com]
Sent: Thursday, September 12, 2002 10:39 PM
To: NT Developers Interest List
Subject: [ntdev] How to Port Window 2000 driver to windows 98.

I am new to Device driver dev. on Windows 98 ,I found that there is very
less docs. on Windows 98 DDK.

Can I build a VXD for win 98 from the NT based source code of device
driver ?? What modifications are necessary ,I know WDM but the
question
is do 98 and NT have common Kernel mode API set ??

Where can I find good docs like OSR’s NT driver docs. on net ??
one more q. How can I load a VXD from user mode application ???(I know
how
to load a sys driver from user application on NT/2000.)

Please help me out…
Thanx for giving me time…Good DaY!

Pawar


You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to %%email.unsub%%