I agree, we shouldn’t have mentioned this function in the Win2K doc.
Anyway we corrected the doc in XP to say: This routine is supported on
Windows XP and later operating system versions.
-----Original Message-----
From: Roddy, Mark [mailto:xxxxx@stratus.com]
Sent: Monday, August 20, 2001 1:45 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Getting OS version in driver
Sorry Eliyas, but my W2K DDK says that the following is part of the
kernel
API for drivers:
RtlGetVersion
NTSTATUS
RtlGetVersion(
IN OUT PRTL_OSVERSIONINFOW lpVersionInformation
);
This is a bug.
-----Original Message-----
From: Eliyas Yakub [mailto:xxxxx@microsoft.com]
Sent: Monday, August 20, 2001 4:26 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Getting OS version in driver
RtlGetVersion is a new API introduced in XP. This is documented in the
XP
DDK. So don’t use it in your Win2K driver. You can use PsGetVersion for
now
as it works on NT4.0/Win2K/XP.
We will be obsoleting PsGetVersion in the future. So for XP and future
oses
RtlGetVersion is the function to use for checking versions. This is done
to
be consistent with the usermode function.
-Eliyas
-----Original Message-----
From: Mark Roddy [mailto:xxxxx@hollistech.com]
Sent: Saturday, August 18, 2001 1:59 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Getting OS version in driver
Try PsGetVersion. The RtlGetVersion link error is a bug in w2k and I’m
guessing XP now as well. Maybe you should report it to the osr bug bash
and
win a free coffee mug or a complete set of the VMS grey wall driver
manuals
or whatever it is they give you. Excuse me I’ve got to complete a Birp.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Bill Casey
Sent: Saturday, August 18, 2001 4:29 PM
To: NT Developers Interest List
Subject: [ntdev] Getting OS version in driver
I’m getting this when compiling and debugging (on Win2K):
The \SystemRoot\System32\Drivers\VscsiU2K.SYS device
driver could not
locate the entry point RtlGetVersion in driver ntoskrnl.exe.
after including this in my driver:
RtlGetVersion(lpVersionInformation); // get OS version
I’ve installed the new Winddk\2505 from the August DVD.
Any ideas?? Lib path?? Include path??
Bill Casey
== SCSI Adapters & VirtualSCSI Target Mode Libs ==
Advanced Storage Concepts, Inc. (409) 744-2129
2720 Terminal Drive xxxxx@virtualscsi.com
Galveston, TX 77554 USA www.virtualscsi.com
You are currently subscribed to ntdev as:
xxxxx@hollistech.com To unsubscribe send a blank email to
leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: xxxxx@stratus.com To
unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: xxxxx@microsoft.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