Hello Everyone
How can I detect the OS version from the filter driver, I want to detect the
OS on which my driver gets loaded is whether 2K or XP.
Thanks.
Anuj Agarwal
Hello Everyone
How can I detect the OS version from the filter driver, I want to detect the
OS on which my driver gets loaded is whether 2K or XP.
Thanks.
Anuj Agarwal
Hint: Search the archives before posting. That would of been a lot quicker.
I know the name of the api you need, but I’m not going to tell you. It’s
real
easy to find, but no, you had to email thousands of people simutaniously
instead.
Anuj Agarwal wrote:
Hello Everyone
How can I detect the OS version from the filter driver, I want to
detect the OS on which my driver gets loaded is whether 2K or XP.Thanks.
Anuj Agarwal— 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
Well Thanks for the wonderful hint, I already searched and got one api thats
‘IoIsWdmVersionAvailable()’ that uses ‘WDM_MINORVERSION’ constant but its
not giving exact values.
I used it as follows:
DbgPrint(" WDM_MINORVERSION=%x \n",WDM_MINORVERSION);
if(WDM_MINORVERSION!=0x10) // Go inside if XP.
{
DoThis();
}
But this is always returning 0x20 whether it is 2K or XP.
So if you know any other api, Please tell me.
Thanks.
Anuj Agarwal
On 3/27/06, MM wrote:
>
> Hint: Search the archives before posting. That would of been a lot
> quicker.
>
> I know the name of the api you need, but I’m not going to tell you. It’s
> real
> easy to find, but no, you had to email thousands of people simutaniously
> instead.
>
>
>
> Anuj Agarwal wrote:
>
> > Hello Everyone
> > How can I detect the OS version from the filter driver, I want to
> > detect the OS on which my driver gets loaded is whether 2K or XP.
> >
> > Thanks.
> > Anuj Agarwal
> >
> > — 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
>
Well I’m with Matt on this one, but I also believe in seaching the DDK/WDK.
If you seach for version in the WDK/DDK you will get 500 hits. If you then
recognize that for kernel drivers calls start with Ex, Io, Ke, Ps, Ob, Se,
and Rtl and you sort the title alphabetically you can quickly look for API’s
that match. If you check the “See Also” section you will find more.
Overall, it took me longer to write this, than it normally takes to look
something up.
–
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply
“Anuj Agarwal” wrote in message
news:xxxxx@ntdev…
Well Thanks for the wonderful hint, I already searched and got one api thats
‘IoIsWdmVersionAvailable()’ that uses ‘WDM_MINORVERSION’ constant but its
not giving exact values.
I used it as follows:
DbgPrint(" WDM_MINORVERSION=%x \n",WDM_MINORVERSION);
if(WDM_MINORVERSION!=0x10) // Go inside if XP.
{
DoThis();
}
But this is always returning 0x20 whether it is 2K or XP.
So if you know any other api, Please tell me.
Thanks.
Anuj Agarwal
On 3/27/06, MM wrote:
>
> Hint: Search the archives before posting. That would of been a lot
> quicker.
>
> I know the name of the api you need, but I’m not going to tell you. It’s
> real
> easy to find, but no, you had to email thousands of people simutaniously
> instead.
>
>
>
> Anuj Agarwal wrote:
>
> > Hello Everyone
> > How can I detect the OS version from the filter driver, I want to
> > detect the OS on which my driver gets loaded is whether 2K or XP.
> >
> > Thanks.
> > Anuj Agarwal
> >
> > — 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
>
Search for “detect os version” - the first link tells you the name of a
kernel api that will give you major and minor build numbers for the OS
the driver is executing on.
Anuj Agarwal wrote:
Well Thanks for the wonderful hint, I already searched and got one api
thats ‘IoIsWdmVersionAvailable()’ that uses ‘WDM_MINORVERSION’
constant but its not giving exact values.
I used it as follows:DbgPrint(" WDM_MINORVERSION=%x \n",WDM_MINORVERSION);
if(WDM_MINORVERSION!=0x10) // Go inside if XP.
{
DoThis();
}But this is always returning 0x20 whether it is 2K or XP.
So if you know any other api, Please tell me.Thanks.
Anuj Agarwal
On 3/27/06, *MM* > mailto:xxxxx> wrote:
>
> Hint: Search the archives before posting. That would of been a lot
> quicker.
>
> I know the name of the api you need, but I’m not going to tell
> you. It’s
> real
> easy to find, but no, you had to email thousands of people
> simutaniously
> instead.
>
>
>
> Anuj Agarwal wrote:
>
> > Hello Everyone
> > How can I detect the OS version from the filter driver, I want to
> > detect the OS on which my driver gets loaded is whether 2K or XP.
> >
> > Thanks.
> > Anuj Agarwal
> >
> > — 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
>
>
> — 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</mailto:xxxxx>
Wo9w, a new curmudgeon!!! ![]()
Gary G. Little
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@comcast.net
Sent: Monday, March 27, 2006 5:20 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] OS detection problem
Hint: Search the archives before posting. That would of been a lot
quicker.
I know the name of the api you need, but I’m not going to tell you. It’s
real
easy to find, but no, you had to email thousands of people simutaniously
instead.
Anuj Agarwal wrote:
Hello Everyone
How can I detect the OS version from the filter driver, I want to
detect the OS on which my driver gets loaded is whether 2K or XP.Thanks.
Anuj Agarwal— 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
Anuj Agarwal wrote:
Well Thanks for the wonderful hint, I already searched and got one api
thats ‘IoIsWdmVersionAvailable()’ that uses ‘WDM_MINORVERSION’
constant but its not giving exact values.
I used it as follows:DbgPrint(" WDM_MINORVERSION=%x \n",WDM_MINORVERSION);
if(WDM_MINORVERSION!=0x10) // Go inside if XP.
{
DoThis();
}But this is always returning 0x20 whether it is 2K or XP.
This is a C problem, not a DDK problem.
Of course it is a constant. It is #defined in ntddk.h. What it means
is that you COMPILED your driver using the wxp environment, which will
continue to be true no matter where you RUN it… To get something that
varies at run-time, you have to call an API that returns something to
you. In your case, you have already mentioned that API.
The MSDN page includes an explicit example of how to use this API, but
in the interested of mercifully ending this thread, I will cut and paste
it for you:
// Is this Win XP?
if( IoIsWdmVersionAvailabile( 1, 0x20 ) )
{
DoThis();
}
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
Come on you guys could do better than this and be more noble, let's not send
him any deeper into the forest. He wants to detect the OS version, one does
not find this by checking the version of WDM. It will only show if you are
running a version of WDM or the base version of an OS or better. He said he
received 0x20 on Windows 2000, so he probably got some hotpatch or late
service pack installed.
I wonder how far you guys would be getting writing device drivers on an OS
with a different language or character set than your own. I also wonder if
Microsoft after all those years is getting anywhere with its Hindi version
of Windows XP. RtlGetVersion is what he needs, not IoIsWdmVersionAvailable.
I am with Gary on this one, not with you, Don Burn or MM.
"Tim Roberts" wrote in message news:xxxxx@ntdev...
>The MSDN page includes an explicit example of how to use this API
"Don Burn" wrote in message news:xxxxx@ntdev...
>Well I'm with Matt on this one
Actually, RtlGetVersion is not what he needs. RtlGetVersion is on XP
and later, so he won't load on win2k to make the check is the first
place. PsGetVersion() is all that is needed here.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Daniel Terhell
Sent: Monday, March 27, 2006 1:28 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] OS detection problem
Come on you guys could do better than this and be more noble, let's not
send
him any deeper into the forest. He wants to detect the OS version, one
does
not find this by checking the version of WDM. It will only show if you
are
running a version of WDM or the base version of an OS or better. He said
he
received 0x20 on Windows 2000, so he probably got some hotpatch or late
service pack installed.
I wonder how far you guys would be getting writing device drivers on an
OS
with a different language or character set than your own. I also wonder
if
Microsoft after all those years is getting anywhere with its Hindi
version
of Windows XP. RtlGetVersion is what he needs, not
IoIsWdmVersionAvailable.
I am with Gary on this one, not with you, Don Burn or MM.
"Tim Roberts" wrote in message news:xxxxx@ntdev...
>The MSDN page includes an explicit example of how to use this API
"Don Burn" wrote in message news:xxxxx@ntdev...
>Well I'm with Matt on this one
---
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
ListServer/Forum
But this function is obsolete in Windows XP, isn’t it. What I meant was of
course MmGetSystemRoutineAddress with a unicode string initialized to
RtlGetVersion.
/Daniel
“Doron Holan” wrote in message
news:xxxxx@ntdev…
Actually, RtlGetVersion is not what he needs. RtlGetVersion is on XP
and later, so he won’t load on win2k to make the check is the first
place. PsGetVersion() is all that is needed here.
d
In that respect using RtlGetVersion provides immediate runtime feedback
that your driver tried to load on the wrong version of the OS.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Doron Holan
Sent: Monday, March 27, 2006 4:41 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] OS detection problem
Actually, RtlGetVersion is not what he needs. RtlGetVersion is on XP
and later, so he won't load on win2k to make the check is the first
place. PsGetVersion() is all that is needed here.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Daniel Terhell
Sent: Monday, March 27, 2006 1:28 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] OS detection problem
Come on you guys could do better than this and be more noble, let's not
send
him any deeper into the forest. He wants to detect the OS version, one
does
not find this by checking the version of WDM. It will only show if you
are
running a version of WDM or the base version of an OS or better. He said
he
received 0x20 on Windows 2000, so he probably got some hotpatch or late
service pack installed.
I wonder how far you guys would be getting writing device drivers on an
OS
with a different language or character set than your own. I also wonder
if
Microsoft after all those years is getting anywhere with its Hindi
version
of Windows XP. RtlGetVersion is what he needs, not
IoIsWdmVersionAvailable.
I am with Gary on this one, not with you, Don Burn or MM.
"Tim Roberts" wrote in message news:xxxxx@ntdev...
>The MSDN page includes an explicit example of how to use this API
"Don Burn" wrote in message news:xxxxx@ntdev...
>Well I'm with Matt on this one
---
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
ListServer/Forum
---
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
ListServer/Forum
Daniel Terhell wrote:
Come on you guys could do better than this and be more noble, let’s not send
him any deeper into the forest. He wants to detect the OS version, one does
not find this by checking the version of WDM. It will only show if you are
running a version of WDM or the base version of an OS or better. He said he
received 0x20 on Windows 2000, so he probably got some hotpatch or late
service pack installed.
No. You didn’t read his code. He received 0x20 because he tested the
value of the constant 0x20. He wrote this:
DbgPrint(" WDM_MINORVERSION=%x \n",WDM_MINORVERSION);
That code is simply incorrect. If you look in ntddk.h in the Windows XP
build environment, you’ll find this:
#define WDM_MINORVERSION 0x20
It would have been surprising indeed if he had received anything OTHER
than 0x20. That’s why I told him it was a C problem, not a DDK problem.
Further, I did not send him “deeper into the forest”. I showed him
exactly how to call IoIsWdmVersionAvailable, and IoIsWdmVersionAvailable
*will* tell him exactly what he needs to know.
Heaven knows I can be a curmudgeon, but this was NOT such a case.
Please make sure your facts are straight before you criticize.
RtlGetVersion is what he needs, not IoIsWdmVersionAvailable.
Wrong. IoIsWdmVersionAvailable is what he needs, not “if( 0x20 == 0x20)”.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
Obsolete, but still useful if you have to run on win2k and you need to
do version checking on that OS.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Daniel Terhell
Sent: Monday, March 27, 2006 1:56 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] OS detection problem
But this function is obsolete in Windows XP, isn’t it. What I meant was
of
course MmGetSystemRoutineAddress with a unicode string initialized to
RtlGetVersion.
/Daniel
“Doron Holan” wrote in message
news:xxxxx@ntdev…
Actually, RtlGetVersion is not what he needs. RtlGetVersion is on XP
and later, so he won’t load on win2k to make the check is the first
place. PsGetVersion() is all that is needed here.
d
—
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
And this is exactly why I suggested he look it up himself. He hadn’t given
enough data to answer the question correctly. Teaching someone to do things
for themselves serves a much better purpose then just handing them the
answer. More importantly, it might mean he will check the doc’s for
something that he thinks he knows, and therefore produce a better driver.
–
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply
“Daniel Terhell” wrote in message
news:xxxxx@ntdev…
> But this function is obsolete in Windows XP, isn’t it. What I meant was of
> course MmGetSystemRoutineAddress with a unicode string initialized to
> RtlGetVersion.
>
> /Daniel
>
>
>
> “Doron Holan” wrote in message
> news:xxxxx@ntdev…
> Actually, RtlGetVersion is not what he needs. RtlGetVersion is on XP
> and later, so he won’t load on win2k to make the check is the first
> place. PsGetVersion() is all that is needed here.
>
> d
>
>
>
>
Unless of course RtlGetVersion gets added in a later Win2k
hotfix/service pack. The presence or lack thereof of an export is not
enough to determine OS version IMHO.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Roddy, Mark
Sent: Monday, March 27, 2006 2:02 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] OS detection problem
In that respect using RtlGetVersion provides immediate runtime feedback
that your driver tried to load on the wrong version of the OS.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Doron Holan
Sent: Monday, March 27, 2006 4:41 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] OS detection problem
Actually, RtlGetVersion is not what he needs. RtlGetVersion is on XP
and later, so he won't load on win2k to make the check is the first
place. PsGetVersion() is all that is needed here.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Daniel Terhell
Sent: Monday, March 27, 2006 1:28 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] OS detection problem
Come on you guys could do better than this and be more noble, let's not
send
him any deeper into the forest. He wants to detect the OS version, one
does
not find this by checking the version of WDM. It will only show if you
are
running a version of WDM or the base version of an OS or better. He said
he
received 0x20 on Windows 2000, so he probably got some hotpatch or late
service pack installed.
I wonder how far you guys would be getting writing device drivers on an
OS
with a different language or character set than your own. I also wonder
if
Microsoft after all those years is getting anywhere with its Hindi
version
of Windows XP. RtlGetVersion is what he needs, not
IoIsWdmVersionAvailable.
I am with Gary on this one, not with you, Don Burn or MM.
"Tim Roberts" wrote in message news:xxxxx@ntdev...
>The MSDN page includes an explicit example of how to use this API
"Don Burn" wrote in message news:xxxxx@ntdev...
>Well I'm with Matt on this one
---
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
ListServer/Forum
---
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
ListServer/Forum
---
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
ListServer/Forum
Well I agree but for the same reason IoIsWdmVersionAvailable is not the way
to go either. The OP said he was running on both Windows 2000 and Windows
XP, the answer is not as straightforward as it seems.
/Daniel
“Doron Holan” wrote in message
news:xxxxx@ntdev…
Unless of course RtlGetVersion gets added in a later Win2k
hotfix/service pack. The presence or lack thereof of an export is not
enough to determine OS version IMHO.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Roddy, Mark
Sent: Monday, March 27, 2006 2:02 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] OS detection problem
In that respect using RtlGetVersion provides immediate runtime feedback
that your driver tried to load on the wrong version of the OS.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Doron Holan
Sent: Monday, March 27, 2006 4:41 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] OS detection problem
Actually, RtlGetVersion is not what he needs. RtlGetVersion is on XP
and later, so he won’t load on win2k to make the check is the first
place. PsGetVersion() is all that is needed here.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Daniel Terhell
Sent: Monday, March 27, 2006 1:28 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] OS detection problem
Come on you guys could do better than this and be more noble, let’s not
send
him any deeper into the forest. He wants to detect the OS version, one
does
not find this by checking the version of WDM. It will only show if you
are
running a version of WDM or the base version of an OS or better. He said
he
received 0x20 on Windows 2000, so he probably got some hotpatch or late
service pack installed.
I wonder how far you guys would be getting writing device drivers on an
OS
with a different language or character set than your own. I also wonder
if
Microsoft after all those years is getting anywhere with its Hindi
version
of Windows XP. RtlGetVersion is what he needs, not
IoIsWdmVersionAvailable.
I am with Gary on this one, not with you, Don Burn or MM.
/Daniel
-------
“Tim Roberts” wrote in message news:xxxxx@ntdev…
>The MSDN page includes an explicit example of how to use this API
“Don Burn” wrote in message news:xxxxx@ntdev…
>Well I’m with Matt on this one
—
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
—
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
Daniel Terhell wrote:
Well I agree but for the same reason IoIsWdmVersionAvailable is not the way
to go either. The OP said he was running on both Windows 2000 and Windows
XP, the answer is not as straightforward as it seems.
I disagree. IoIsWdmVersionAvailable( 1, 0x20 ) will be true on Windows
XP, and false on Windows 2000.
If Microsoft should make the extraordinary decision to have that return
true in some future service pack of Windows 2000, then it would mean
that they had made that service pack equivalent to XP in every way for
WDM drivers. And if that is the case, the O.P. almost certainly wants
to use his XP code anyway.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
Well Gary, you should just be glowing this morning. After all, imitation
is the most
sincere form of flattery. ![]()
xxxxx@seagate.com wrote:
Wo9w, a new curmudgeon!!!
Gary G. Little
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@comcast.net
Sent: Monday, March 27, 2006 5:20 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] OS detection problemHint: Search the archives before posting. That would of been a lot
quicker.I know the name of the api you need, but I’m not going to tell you. It’s
real
easy to find, but no, you had to email thousands of people simutaniously
instead.Anuj Agarwal wrote:
>Hello Everyone
>How can I detect the OS version from the filter driver, I want to
>detect the OS on which my driver gets loaded is whether 2K or XP.
>
> Thanks.
>Anuj Agarwal
>
>— 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=256To 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
Daniel Terhell wrote:
Come on you guys could do better than this and be more noble
Daniel, if you read the post I pointed him to searching the archive with
the search string “detect os version”.
The very FIRST link returned discusses the differences between
RtlGetVersion vs. PsGetVersion. Once he
knew the name of the api, he could of looked it up in the DDK/WDK for
further information.
I wonder how far you guys would be getting writing device drivers on an OS
with a different language or character set than your own.
The OP wrote in excellent English - what’s your point? What does
searching the ddk/wdk or the archives have to
do with his native language when his English is ‘just fine’?
I am with Gary on this one, not with you, Don Burn or MM.
Like anyone gives a damn.
Do note, Gary did not answer the question
/Daniel
“Tim Roberts” wrote in message news:xxxxx@ntdev…
>
>
>>The MSDN page includes an explicit example of how to use this API
>>
>>
>
>“Don Burn” wrote in message news:xxxxx@ntdev…
>
>
>>Well I’m with Matt on this one
>>
>>
>
>
>
>
>—
>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
>
>
>
Hello Everybody
Thanks for your kind support, I have finally solved my problem by using
‘MmGetSystemRoutineAddress()’ routine and the routine that I was using
earlier could not solve my problem i.e. ‘IoIsWdmVersionAvailable()’. But I
doesnt understand why you people starts arguing on each other, here you
people are to help/support others and not to get involve in personal
arguments.
But anyway thanks everyone and especially to Daniel for his kind support.
Anuj Agarwal
On 3/28/06, MM wrote:
>
>
>
> Daniel Terhell wrote:
>
> >Come on you guys could do better than this and be more noble
> >
> Daniel, if you read the post I pointed him to searching the archive with
> the search string “detect os version”.
> The very FIRST link returned discusses the differences between
> RtlGetVersion vs. PsGetVersion. Once he
> knew the name of the api, he could of looked it up in the DDK/WDK for
> further information.
>
> >
> >I wonder how far you guys would be getting writing device drivers on an
> OS
> >with a different language or character set than your own.
> >
> The OP wrote in excellent English - what’s your point? What does
> searching the ddk/wdk or the archives have to
> do with his native language when his English is ‘just fine’?
>
> >
> >I am with Gary on this one, not with you, Don Burn or MM.
> >
> >
> Like anyone gives a damn.
Do note, Gary did not answer the question
> - he called me an ass followed by a smiley face.
>
> >/Daniel
> >-------
> >
> >
> >“Tim Roberts” wrote in message news:xxxxx@ntdev…
> >
> >
> >>The MSDN page includes an explicit example of how to use this API
> >>
> >>
> >
> >“Don Burn” wrote in message news:xxxxx@ntdev…
> >
> >
> >>Well I’m with Matt on this one
> >>
> >>
> >
> >
> >
> >
> >—
> >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
>