A Windows Vista forum. Vista Banter

Welcome to Vista Banter.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » General Vista Help and Support
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

General Vista Help and Support The general Windows Vista discussion forum, for topics not covered elsewhere. (microsoft.public.windows.vista.general)

What tells files "THIS IS VISTA"?



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old June 7th 08, 04:59 AM posted to microsoft.public.windows.vista.general
UnknownTBeast
external usenet poster
 
Posts: 32
Default What tells files "THIS IS VISTA"?

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?

  #2 (permalink)  
Old June 7th 08, 09:03 AM posted to microsoft.public.windows.vista.general
Dzomlija
external usenet poster
 
Posts: 99
Default What tells files "THIS IS VISTA"?


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\")
  #3 (permalink)  
Old June 7th 08, 03:25 PM posted to microsoft.public.windows.vista.general
Colin Barnhorst[_2_]
external usenet poster
 
Posts: 2,464
Default What tells files "THIS IS VISTA"?

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

"Dzomlija" wrote in message
...

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\")


  #4 (permalink)  
Old June 7th 08, 05:24 PM posted to microsoft.public.windows.vista.general
Dzomlija
external usenet poster
 
Posts: 99
Default What tells files "THIS IS VISTA"?


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\")
  #5 (permalink)  
Old June 7th 08, 07:33 PM posted to microsoft.public.windows.vista.general
Colin Barnhorst[_2_]
external usenet poster
 
Posts: 2,464
Default What tells files "THIS IS VISTA"?

Yes. Thanks.

"Dzomlija" wrote in message
...

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\")


 




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

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



All times are GMT. The time now is 03:44 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2024 Vista Banter.
The comments are property of their posters.