AW: RE: OS Type

Thans a lot, Alun.

Call GetVersionEx to fill in an OSVERSIONINFO structure (see GetVersionEx in
help)

Check the dwPlatformId member of the structure for the value
VER_PLATFORM_WIN32_NT

This indicates an NT based system

check the dwMajorVersion member to determine the specific version of NT:
5 = Windows 2000
<5 = Windows NT

Haven’t tested this under Windows Xp yet so don’t know what difference that
will make.

Alun Carp
Driver Development Team Leader
Data Encryption Systems Limited

-----Original Message-----
From: Burkin, Valery [mailto:Valery.Burkin@de.origin-it.com]
Sent: 30 March 2001 09:19
To: NT Developers Interest List
Subject: [ntdev] OS Type

Hi,

During the start up of my application I need to determine
the type of OS WinNT/Win2K,
How can I do that?

v.



You are currently subscribed to ntdev as: Valery.Burkin@de.origin-it.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

For Windows Whistler (XP) the major version is same as Win2K i.e. 5. The
minor version has changed from 0 to 1.

-----Original Message-----
From: Burkin, Valery [mailto:Valery.Burkin@de.origin-it.com]
Sent: Friday, March 30, 2001 4:59 AM
To: NT Developers Interest List
Subject: [ntdev] AW: RE: OS Type

Thans a lot, Alun.

Call GetVersionEx to fill in an OSVERSIONINFO structure (see GetVersionEx in
help)

Check the dwPlatformId member of the structure for the value
VER_PLATFORM_WIN32_NT

This indicates an NT based system

check the dwMajorVersion member to determine the specific version of NT:
5 = Windows 2000
<5 = Windows NT

Haven’t tested this under Windows Xp yet so don’t know what difference that
will make.

Alun Carp
Driver Development Team Leader
Data Encryption Systems Limited

-----Original Message-----
From: Burkin, Valery [mailto:Valery.Burkin@de.origin-it.com]
Sent: 30 March 2001 09:19
To: NT Developers Interest List
Subject: [ntdev] OS Type

Hi,

During the start up of my application I need to determine
the type of OS WinNT/Win2K,
How can I do that?

v.



You are currently subscribed to ntdev as: Valery.Burkin@de.origin-it.com To
unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@pumatech.com To unsubscribe
send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Thanks, that information will come in handy in the future I’m sure

Alun Carp
Driver Development Team Leader
Data Encryption Systems Limited

-----Original Message-----
From: Naveen Kohli [mailto:xxxxx@pumatech.com]
Sent: 30 March 2001 20:45
To: NT Developers Interest List
Subject: [ntdev] RE: AW: RE: OS Type

For Windows Whistler (XP) the major version is same as Win2K i.e. 5. The
minor version has changed from 0 to 1.

-----Original Message-----
From: Burkin, Valery [mailto:Valery.Burkin@de.origin-it.com]
Sent: Friday, March 30, 2001 4:59 AM
To: NT Developers Interest List
Subject: [ntdev] AW: RE: OS Type

Thans a lot, Alun.

Call GetVersionEx to fill in an OSVERSIONINFO structure (see GetVersionEx in
help)

Check the dwPlatformId member of the structure for the value
VER_PLATFORM_WIN32_NT

This indicates an NT based system

check the dwMajorVersion member to determine the specific version of NT:
5 = Windows 2000
<5 = Windows NT

Haven’t tested this under Windows Xp yet so don’t know what difference that
will make.

Alun Carp
Driver Development Team Leader
Data Encryption Systems Limited

-----Original Message-----
From: Burkin, Valery [mailto:Valery.Burkin@de.origin-it.com]
Sent: 30 March 2001 09:19
To: NT Developers Interest List
Subject: [ntdev] OS Type

Hi,

During the start up of my application I need to determine
the type of OS WinNT/Win2K,
How can I do that?

v.



You are currently subscribed to ntdev as: Valery.Burkin@de.origin-it.com To
unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@pumatech.com To unsubscribe
send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@des.co.uk
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com