If nothing else, use an IOCTL to tell the driver what OS is running.
Or add a registry entry to tell the driver, .inf files “know” the OS thats running.
Larry
-----Original Message-----
From: xxxxx@motus.com [mailto:xxxxx@motus.com]
Sent: Monday, November 12, 2001 2:59 PM
To: NT Developers Interest List
Subject: [ntdev] R?f. : [ntdev] RE: [ntdev] R?f. : [ntdev] Re:
RtlGetVersion
Thanks Maxim, Gary and Paul.
Sorry if my question wasn’t clear nor complete.
The driver we are writting is a very little driver, which, basically does
nothing, except answer to DeviceIoControl. It doesn’t control any
hardware. In fact, it is much more a Service than a driver, but we needed
some Kernel functionnalities (paged and non-paged memory, etc) that are not
available through services (as far as there are services in 98…), and
trying to design it in a way that it is almost invisible to applications
(working in conjonction with a stub DLL that maps calls from user-mode to
kernel-mode through DeviceIoControl). Some kind of BlackBox, if you know
what I mean.
Developping and testing a “so basic” driver, we figured out that we can
have a binary compatible driver, for all platforms, from 98/ME to NT and
2k.
When I said it was a WDM driver, I probably mislead everyone.
Now, the driver is working for all those platforms (with the same .SYS
file) , but, for some reason, I need to know the OS version. And the most
important thing, is that it MUST remain binary compatible.
Hope it is clearer (sorry, I forgot to say that I’m formerly a French
Canadian…I sometimes have troubles in english comprehension…).
So, if IoIsWDMVersionAvailable is not available in all those platforms, is
there a way I can find it, with the registry, for example?
Thanks a lot,
R?jean Caron - xxxxx@motus.com
Motus Technologies inc.
“Pavel Hrdina”
Pour : “NT Developers Interest List”
Envoy? par : cc :
xxxxx@lis Objet : [ntdev] RE: [ntdev] R?f. : [ntdev] Re: RtlGetVersion
ts.osr.com
2001-11-12 13:54
Veuillez r?pondre ?
“NT Developers
Interest List”
But you’ve asked about something for WDM drived, haven’t you ?
And my question to you is:
Is NT a WDM platform ?
Paul
-----Original Message-----
From: xxxxx@lists.osr.com [
mailto:xxxxx@lists.osr.com]On Behalf Of xxxxx@motus.com
Sent: Monday, November 12, 2001 7:26 PM
To: NT Developers Interest List
Subject: [ntdev] R?f. : [ntdev] Re: RtlGetVersion
Yes, but is it available under NT 4.0? I don’t think so…
-------------------------------------------------------
R?jean Caron - xxxxx@motus.com
Motus Technologies inc.
“Maxim S. Shatskih”
Interest List"
om> cc :
Envoy? par : Objet : [ntdev] Re:
RtlGetVersion
xxxxx@lis
ts.osr.com
2001-11-12 13:03
Veuillez r?pondre r
“NT Developers
Interest List”
IoIsWDMVersionAvailable can help.
Max
----- Original Message -----
From:
To: “NT Developers Interest List”
Sent: Monday, November 12, 2001 7:52 PM
Subject: [ntdev] RtlGetVersion
Hi,
Maybe a simple question, but…
How can a WDM driver can simply know which OS version is currently running?
RtlGetVersion doesn’t exist on 9x platforms… It was introduced with XP.
-------------------------------------------------------
R?jean Caron - xxxxx@motus.com
—
You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
—
You are currently subscribed to ntdev as: xxxxx@motus.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
—
You are currently subscribed to ntdev as: xxxxx@compelson.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
—
You are currently subscribed to ntdev as: xxxxx@motus.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
—
You are currently subscribed to ntdev as: xxxxx@diebold.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.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