|
Hi! I have a call to WTSQuerySessionInformation with WTSSessionID as the information class parameter. When running in Windows XP Pro SP3 and Vista (both 32 bit) and a single user is logged on, the value for the session ID that is returned is 0. However, when running in Windows 7 Ultimate (64 bit) and a single user is logged on, the value for the session ID is now 1. Can anyone explain this? The aim of the call to WTSQuerySessionInformation is to try to determine how many users are logged on, so if there are any suggestions as to an alternative way of doing this I would be very grateful. Many thanks in advance!
|