Win 2k DDK Sample code

Hello all,
It’s the same old issue on Win 2k/win 98 compatibility.
I need some assistance on the following.

In the Win 2k DDK there is the sample code for building a NDIS protocol
driver (\NTDDK\src\network\ndis\packet\driver\packet.sys).

I can install it on a win 2k/XP platform. However , I’m unable to
Install it on the Win 98 platform.

Some websites say that I need not change any code…except the
part in the .INF file.
Could someone please , help me out.

I can send the packet.inf file if need be.

Thank you,
Avinash

Avinash,
In the INF file,under [Version] section,change Signature= entry
to “$Chicago$”

Then,this INF file can be used for both Win98/Me and Win2K/XP.

Regards,
Manoj

There are also other differences between Windows 9x/ME and Windows 2K/XP
INF files beyond just adding “$Chicago$”.

Windows 98/ME will require an entry similar to:

HKR,DevLoader,*ndis,*ntkern
HKR,DeviceVxDs,“MyDriver.sys”

Whereas, Windows 2000/XP will require a service entry that is not used
in 9x/ME, like:

DisplayName = %NDISUIO_Desc%
ServiceType = 1 ;SERVICE_KERNEL_DRIVER
StartType = 3 ;SERVICE_MANUAL_START
ErrorControl = 1 ;SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ndisuio.sys
LoadOrderGroup = NDIS
Description = %NDISUIO_Desc%

To build a multi-platform INF (a single INF that can be used in 9x/ME
and 2K/XP), you will need to decorate NT-specific sections with .NT. If
the driver is for networking, you can further differentiate between 9x
and ME by declaring “MillenniumPreferred = .ME” in the [version] section
and using “.ME” as a section decoration.

Perhaps this was covered in Avinash’s original post.

Bryan S. Burgin
xxxxx@microsoft.com

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

-----Original Message-----
From: Manoj K Babulal [mailto:xxxxx@hotmail.com]
Sent: Saturday, September 21, 2002 6:40 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Win 2k DDK Sample code

Avinash,
In the INF file,under [Version] section,change Signature= entry
to “$Chicago$”

Then,this INF file can be used for both Win98/Me and Win2K/XP.

Regards,
Manoj


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