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%%