Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Function to determine versions of Windows XP
Message
 
To
07/02/2002 14:31:07
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00616673
Message ID:
00616935
Views:
23
>Check MSDN for this function:
>GetVersionEx


Nope, that won't tell him, but VerifyVersionInfo() would. The OSVERSIONINFO doesn't have the necessary member to distinguish between XP Home and Pro. VerifyVersionInfo() uses an OSVERSIONINFOEX structure which contains a member that will (wSuiteMask). If this value is set to VER_SUITE_PERSONAL, then it's XP Home. Unfortunately, I have neither XP nor immediate access to the documentation (necessary header file) to be able to state the value of the constant nor test.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform