|
-
Oct 3rd, 2000, 11:46 PM
#1
Thread Starter
Hyperactive Member
hi,
Im trying to use the GetVersionEx API to get the windows version. My question is how do I know if the OS is windows2000.
got this from http://www.vbapi.com:
if the return value is 0 then
Windows 3.x is running, using the Win32s pseudo-32-bit enhancements.
if the return value is 1 then
Windows 95 or 98 is running.
if the return value is 2 then
Windows NT is running.
When I tried this on a win2000 system the return value was 2.
Is that correct? and can I go ahead and work based on this return value???
Thanx in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|