Link to home
Start Free TrialLog in
Avatar of lavitz
lavitzFlag for Poland

asked on

WTSGetActiveConsoleSessionId and Windows 2000

Hi,

Iam using WTSGetActiveConsoleSessionId and other functions to get users console token and then run process in its users space. Is there similary functionality in Windows 2000?

In msdn i see that WTSGetActiveConsoleSessionId is from Windows XP and Windows Server 2003
ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
On Windows 2000 Workstation you do not need this function because the process is running always on the console session (Session 0).

BTW: The code above has some errors regarding correct error checking...it does not fail on them (just logging).
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial