Re: Get service pack name from a driver? by a-danwh
a-danwh
Fri Apr 29 13:27:21 CDT 2005
------=_NextPart_0001_29A0D7FA
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Greetings,
I've been debugging PsGetVersion in order to determine why it does not
return the ServicePack string. As it turns out, the function does indeed
copy the string, but the string is always NULL. Windows itself does not
use this function to obtain the service pack string, but rather uses the
registry only.
The only remaining functionality of the function is to obtain the major,
minor, and build values. The string is a stump.
My educated guess is that this functionality is a carry over from some
previous release and now remains empty.
I hope this helps.
Thanks
Daniel Whitaker
DDK Support Team
This posting is provided "AS IS" with no warranties, and confers no rights
------=_NextPart_0001_29A0D7FA
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 Greetings,
\par
\par I've been debugging PsGetVersion in order to determine why it does not return the ServicePack string. As it turns out, the function does indeed copy the string, but the string is always NULL. Windows itself does not use this function to obtain the service pack string, but rather uses the registry only.
\par The only remaining functionality of the function is to obtain the major, minor, and build values. The string is a stump.
\par
\par My educated guess is that this functionality is a carry over from some previous release and now remains empty.
\par
\par I hope this helps.
\par
\par Thanks
\par
\par Daniel Whitaker
\par DDK Support Team
\par
\par This posting is provided "AS IS" with no warranties, and confers no rights
\par
\par }
------=_NextPart_0001_29A0D7FA--