RtlGetVersion on Windows 2000

Hi,

could someone - preferably from MS - elaborate on why RtlGetVersion is not supported for Windows 2000? I am aware of the fact that the import library does not provide a thunk for this function, but this can be worked around either way (dynamic or creating your own import library).

So what is the reason for this limitation? Was the function introduced with one of the SPs and is not included in Windows 2000 without SP?

If so, which SP? I know for a fact that the function is exported with SP4.

Thanks in advance,

Oliver


May the source be with you, stranger :wink:

ICQ: #281645
URL: http://assarbad.info | http://windirstat.info | http://blog.assarbad.info

It wasn't exported (which is what I think you meant by supported) b/c it
didn't exist at the time windows 200 was being developed or there was no
need for it to be exported. You can work around this today. Use
MmGetSystemRoutineAddress to get the function pointer and if that fails
use PsGetVersion to fill out the relevant information you need.

The WDK versioned header says it was exported on win2k, but I know that
it was not on win2k gold, so like you said it was added later. Why it
was added for SP4 (or earlier) I don't know.

What problem are you encountering that this has become an issue?

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Oliver Schneider
Sent: Saturday, December 02, 2006 6:56 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] RtlGetVersion on Windows 2000

Hi,

could someone - preferably from MS - elaborate on why RtlGetVersion is
not supported for Windows 2000? I am aware of the fact that the import
library does not provide a thunk for this function, but this can be
worked around either way (dynamic or creating your own import library).

So what is the reason for this limitation? Was the function introduced
with one of the SPs and is not included in Windows 2000 without SP?

If so, which SP? I know for a fact that the function is exported with
SP4.

Thanks in advance,

Oliver


May the source be with you, stranger :wink:

ICQ: #281645
URL: http://assarbad.info | http://windirstat.info |
http://blog.assarbad.info


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at

Hi Doron,

thanks for your comment. Yes, I am aware of PsGetVersion but thought I might possibly just work around the missing symbol in the import library. but if it was not contained in earlier versions I’ll just stick to MmGetSystemRoutineAddress (which is already in use, BTW).

Have a nice weekend,

Oliver

-------- Original-Nachricht --------
Datum: Sat, 2 Dec 2006 09:46:20 -0800
Von: Doron Holan
An: “Windows System Software Devs Interest List”
Betreff: RE: [ntdev] RtlGetVersion on Windows 2000

> It wasn’t exported (which is what I think you meant by supported) b/c it
> didn’t exist at the time windows 200 was being developed or there was no
> need for it to be exported. You can work around this today. Use
> MmGetSystemRoutineAddress to get the function pointer and if that fails
> use PsGetVersion to fill out the relevant information you need.
>
> The WDK versioned header says it was exported on win2k, but I know that
> it was not on win2k gold, so like you said it was added later. Why it
> was added for SP4 (or earlier) I don’t know.
>
> What problem are you encountering that this has become an issue?
>
> d
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Oliver Schneider
> Sent: Saturday, December 02, 2006 6:56 AM
> To: Windows System Software Devs Interest List
> Subject: [ntdev] RtlGetVersion on Windows 2000
>
> Hi,
>
> could someone - preferably from MS - elaborate on why RtlGetVersion is
> not supported for Windows 2000? I am aware of the fact that the import
> library does not provide a thunk for this function, but this can be
> worked around either way (dynamic or creating your own import library).
>
> So what is the reason for this limitation? Was the function introduced
> with one of the SPs and is not included in Windows 2000 without SP?
>
> If so, which SP? I know for a fact that the function is exported with
> SP4.
>
> Thanks in advance,
>
> Oliver
> –
> ---------------------------------------------------
> May the source be with you, stranger :wink:
>
> ICQ: #281645
> URL: http://assarbad.info | http://windirstat.info |
> http://blog.assarbad.info
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer


---------------------------------------------------
May the source be with you, stranger :wink:

ICQ: #281645
URL: http://assarbad.info | http://windirstat.info | http://blog.assarbad.info