Re: How to check if the program is running on a terminal server?
- From: "Alex Fedotov" <me@xxxxxxxxxxxxxxx>
- Date: Thu, 17 Nov 2005 08:22:33 -0800
Runar Undheim wrote:
It is possible to check if the program run a remote session with
GetSystemMetrics(SM_REMOTESESSION)
but it is possible to find out if this is a terminal server or a remote desktop connection (to XP Pro)?
Call GetVersionEx with the OSVERSIONINFOEX structure. Check wSuiteMask for VER_SUITE_SINGLEUSERTS and VER_SUITE_TERMINAL flags.
-- Alex Fedotov
.
- Follow-Ups:
- Re: How to check if the program is running on a terminal server?
- From: Runar Undheim
- Re: How to check if the program is running on a terminal server?
- References:
- How to check if the program is running on a terminal server?
- From: Runar Undheim
- How to check if the program is running on a terminal server?
- Prev by Date: Re: Memory allocation methods
- Next by Date: Re: How to check if the program is running on a terminal server?
- Previous by thread: How to check if the program is running on a terminal server?
- Next by thread: Re: How to check if the program is running on a terminal server?
- Index(es):