Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Function to determine versions of Windows XP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00616673
Message ID:
00616935
Vues:
24
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform