Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting If Terminal Services is Installed on Win 2000 & XP
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Detecting If Terminal Services is Installed on Win 2000 & XP
Divers
Thread ID:
00778293
Message ID:
00778293
Vues:
51
I got the following code from ...

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/termserv/termserv/detecting_if_terminal_services_is_installed.asp

BOOL AreWeRunningTerminalServices(void)
{
OSVERSIONINFOEX osVersionInfo;
DWORDLONG dwlConditionMask = 0;

ZeroMemory(&osVersionInfo, sizeof(OSVERSIONINFOEX));
osVersionInfo.dwOSVersionInfoSize = sizeof(OSVERSIONINFOEX);
osVersionInfo.wSuiteMask = VER_SUITE_TERMINAL;

VER_SET_CONDITION( dwlConditionMask, VER_SUITENAME, VER_AND );

return VerifyVersionInfo(
&osVersionInfo,
VER_SUITENAME,
dwlConditionMask
);
}

My question is if there is a VFP equivalent.

Thanks for any input.
Doug
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform