Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting If Terminal Services is Installed on Win 2000 & XP
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Detecting If Terminal Services is Installed on Win 2000 & XP
Miscellaneous
Thread ID:
00778293
Message ID:
00778293
Views:
52
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
Next
Reply
Map
View

Click here to load this message in the networking platform