From: winapi coder winapi on 15 Dec 2008 18:16 im making a program for windows 2003 terminal services , i need to enumerate all windows stations and desktops on windows terminal server, i did it with EnumWindowStations() function but im only getting WinSta0 and 3 default desktops(logon,screensaver,Default). even i connected to terminal services with 2 different mstsc (terminal server client) but i cant see the desktops on the terminal server. i need to find a way for enumerating Stations and desktops according to that station and use it in like OpenDesktop() function. i searched everywhere but could not find a solution for that. Thanx for ur replies .
From: jolteroli on 17 Dec 2008 14:40 because your program will run in a session. a session does have a window station and in the station are the three desktops. http://blogs.technet.com/askperf/archive/2007/07/24/sessions-desktops-and-windows-stations.aspx i would start enumerate the sessions: + session-n | + winsta0 | + logon desktop + work desktop + discon desktop -jolt "winapi coder" <winapi coder(a)discussions.microsoft.com> schrieb im Newsbeitrag news:B920A6DD-90C9-4B89-980C-7C5949E8D4FE(a)microsoft.com... > im making a program for windows 2003 terminal services , i need to > enumerate > all windows stations and desktops on windows terminal server, i did it > with > EnumWindowStations() function but im only getting WinSta0 and 3 default > desktops(logon,screensaver,Default). even i connected to terminal services > with 2 different mstsc (terminal server client) but i cant see the > desktops > on the terminal server. > i need to find a way for enumerating Stations and desktops according to > that > station and use it in like OpenDesktop() function. i searched everywhere > but > could not find a solution for that. Thanx for ur replies .
|
Pages: 1 Prev: Session monikers in Vista Next: troubles to open a terminal session on windows 2003 |