Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > What tells files "THIS IS VISTA"?

Reply
Thread Tools Display Modes

What tells files "THIS IS VISTA"?

 
 
UnknownTBeast
Guest
Posts: n/a

 
      06-07-2008
I know this seems totally absurd but really, what tells files that the OS you
are running is Vista Home Prem. or Ultimate? I know there entries in the
HKLM\Software\Microsoft\Windows NT\CurrentVersion in the registry and from
what Carey Frisch [MVP] told me that sysinfo32 gets its info from some weird
file in the
%SystemRoot%System32WbemRepository folder that I can only open in a text
format.

Any ideas, or have I just lost my mind?

 
Reply With Quote
 
 
 
 
Dzomlija
Guest
Posts: n/a

 
      06-07-2008

UnknownTBeast;739333 Wrote:
> I know this seems totally absurd but really, what tells files that th
> OS yo
> are running is Vista Home Prem. or Ultimate? I know there entries i
> th
> HKLM\Software\Microsoft\Windows NT\CurrentVersion in the registry an
> fro
> what Carey Frisch [MVP] told me that sysinfo32 gets its info from som
> weir
> file in th
> %SystemRoot%System32WbemRepository folder that I can only open in
> tex
> format
>
> Any ideas, or have I just lost my mind


Most applications call the "GetVersionInfo" or "GetVersionInfoEx
functions of windows. Generally, if the major version number returned b
those functions is 6, then the application knows you're running o
Vista..

--
Dzomlij

*Peter Alexander Dzomlija
-Do you hear, huh? The Alpha and The Omega? Death and Rebirth? And a
you die, so shall I be Reborn...

MOBO: ASUS MB-M3A32-MVP Deluxe/WiFi-A
CPU : AMD Phenom 9600 Qua
MEM : 2 x A-Data 2GB DDR2-80
GPU : ASUS ATI Radeon HD 2400PRO, 256M
CASE: Thermaltake Tai-Chi Water Coole
OS : Windows Vista Ultimate x6

'[image
http://valid.x86-secret.com/cache/banner/333562.png]
(http://valid.x86-secret.com/cache/banner/333562.png) (\"http://valid.x86-secret.com/cache/banner/333562.png\")
 
Reply With Quote
 
Colin Barnhorst
Guest
Posts: n/a

 
      06-07-2008
Since Windows Server 2008 is also "6" how does it further differentiate?

"Dzomlija" <> wrote in message
news:...
>
> UnknownTBeast;739333 Wrote:
>> I know this seems totally absurd but really, what tells files that the
>> OS you
>> are running is Vista Home Prem. or Ultimate? I know there entries in
>> the
>> HKLM\Software\Microsoft\Windows NT\CurrentVersion in the registry and
>> from
>> what Carey Frisch [MVP] told me that sysinfo32 gets its info from some
>> weird
>> file in the
>> %SystemRoot%System32WbemRepository folder that I can only open in a
>> text
>> format.
>>
>> Any ideas, or have I just lost my mind?

>
> Most applications call the "GetVersionInfo" or "GetVersionInfoEx"
> functions of windows. Generally, if the major version number returned by
> those functions is 6, then the application knows you're running on
> Vista...
>
>
> --
> Dzomlija
>
> *Peter Alexander Dzomlija*
> -Do you hear, huh? The Alpha and The Omega? Death and Rebirth? And as
> you die, so shall I be Reborn...-
>
> MOBO: ASUS MB-M3A32-MVP Deluxe/WiFi-AP
> CPU : AMD Phenom 9600 Quad
> MEM : 2 x A-Data 2GB DDR2-800
> GPU : ASUS ATI Radeon HD 2400PRO, 256MB
> CASE: Thermaltake Tai-Chi Water Cooled
> OS : Windows Vista Ultimate x64
>
> '[image:
> http://valid.x86-secret.com/cache/banner/333562.png]'
> (http://valid.x86-secret.com/cache/banner/333562.png)
> (\"http://valid.x86-secret.com/cache/banner/333562.png\")


 
Reply With Quote
 
Dzomlija
Guest
Posts: n/a

 
      06-07-2008

Colin Barnhorst;739676 Wrote:
> Since Windows Server 2008 is also "6" how does it further differentiate


Extracted directly from the WINDOWS.PAS (a partial translation of th
Windows C++ SDK) source code file of Delphi 2007

Code
-------------------

typ
POSVersionInfoA = ^TOSVersionInfoA
POSVersionInfoW = ^TOSVersionInfoW
POSVersionInfo = POSVersionInfoA
_OSVERSIONINFOA = recor
dwOSVersionInfoSize: DWORD
dwMajorVersion: DWORD
dwMinorVersion: DWORD
dwBuildNumber: DWORD
dwPlatformId: DWORD
szCSDVersion: array[0..127] of AnsiChar; { Maintenance AnsiString for PSS usage
end
{$EXTERNALSYM _OSVERSIONINFOA
_OSVERSIONINFOW = recor
dwOSVersionInfoSize: DWORD
dwMajorVersion: DWORD
dwMinorVersion: DWORD
dwBuildNumber: DWORD
dwPlatformId: DWORD
szCSDVersion: array[0..127] of WideChar; { Maintenance WideString for PSS usage
end

-------------------

You can see that version numbers are made up of 4 numbers : Major
Minor, Build Number and Platform ID

Since I don't have Windows Server 2008, I can't confirm, but I'
suspect that the Major and Minor numbers for Vista and Server 2008 ar
the same, with the Platform IDs marking the difference between the two

Is that enough to clear it up for you

--
Dzomlij

*Peter Alexander Dzomlija
-Do you hear, huh? The Alpha and The Omega? Death and Rebirth? And a
you die, so shall I be Reborn...

MOBO: ASUS MB-M3A32-MVP Deluxe/WiFi-A
CPU : AMD Phenom 9600 Qua
MEM : 2 x A-Data 2GB DDR2-80
GPU : ASUS ATI Radeon HD 2400PRO, 256M
CASE: Thermaltake Tai-Chi Water Coole
OS : Windows Vista Ultimate x6

'[image
http://valid.x86-secret.com/cache/banner/333562.png]
(http://valid.x86-secret.com/cache/banner/333562.png) (\"http://valid.x86-secret.com/cache/banner/333562.png\")
 
Reply With Quote
 
Colin Barnhorst
Guest
Posts: n/a

 
      06-07-2008
Yes. Thanks.

"Dzomlija" <> wrote in message
news:...
>
> Colin Barnhorst;739676 Wrote:
>> Since Windows Server 2008 is also "6" how does it further differentiate?

>
> Extracted directly from the WINDOWS.PAS (a partial translation of the
> Windows C++ SDK) source code file of Delphi 2007:
>
>
> Code:
> --------------------
>
> type
> POSVersionInfoA = ^TOSVersionInfoA;
> POSVersionInfoW = ^TOSVersionInfoW;
> POSVersionInfo = POSVersionInfoA;
> _OSVERSIONINFOA = record
> dwOSVersionInfoSize: DWORD;
> dwMajorVersion: DWORD;
> dwMinorVersion: DWORD;
> dwBuildNumber: DWORD;
> dwPlatformId: DWORD;
> szCSDVersion: array[0..127] of AnsiChar; { Maintenance AnsiString for PSS
> usage }
> end;
> {$EXTERNALSYM _OSVERSIONINFOA}
> _OSVERSIONINFOW = record
> dwOSVersionInfoSize: DWORD;
> dwMajorVersion: DWORD;
> dwMinorVersion: DWORD;
> dwBuildNumber: DWORD;
> dwPlatformId: DWORD;
> szCSDVersion: array[0..127] of WideChar; { Maintenance WideString for PSS
> usage }
> end;
>
> --------------------
>
>
> You can see that version numbers are made up of 4 numbers : Major,
> Minor, Build Number and Platform ID.
>
> Since I don't have Windows Server 2008, I can't confirm, but I'd
> suspect that the Major and Minor numbers for Vista and Server 2008 are
> the same, with the Platform IDs marking the difference between the two.
>
> Is that enough to clear it up for you?
>
>
> --
> Dzomlija
>
> *Peter Alexander Dzomlija*
> -Do you hear, huh? The Alpha and The Omega? Death and Rebirth? And as
> you die, so shall I be Reborn...-
>
> MOBO: ASUS MB-M3A32-MVP Deluxe/WiFi-AP
> CPU : AMD Phenom 9600 Quad
> MEM : 2 x A-Data 2GB DDR2-800
> GPU : ASUS ATI Radeon HD 2400PRO, 256MB
> CASE: Thermaltake Tai-Chi Water Cooled
> OS : Windows Vista Ultimate x64
>
> '[image:
> http://valid.x86-secret.com/cache/banner/333562.png]'
> (http://valid.x86-secret.com/cache/banner/333562.png)
> (\"http://valid.x86-secret.com/cache/banner/333562.png\")


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista not wotking with "My Computer" or "Control Panel", "Screen Saver" Platebanger Windows Vista General Discussion 6 02-05-2008 01:54 PM
Vista Upgrade fails at "Gathering Files" when two users share the same user profile (ProfileImagePath). Message: "the upgrade was cancelled". Carl Farrington Windows Vista Installation 4 10-24-2007 07:26 AM
After backup disc #17, Vista tells me backup "failed" AS Windows Vista General Discussion 7 10-10-2007 03:03 PM
After creating 17 backup discs, Vista tells me backup "failed" AS Windows Vista Performance 4 10-09-2007 09:47 PM
Internet Explorer 7 for Windows Vista not prompting me to "Open/Run" or "Save" files Brandon Taylor Windows Vista General Discussion 2 04-01-2007 09:45 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59