Top "Wtsapi32" questions

For questions about how to use Windows Terminal Services (WTS) API functions (named WTS*), declared in wtsapi32.

How can I get the current user token for the physical session?

I have some code, with which I'm trying to get the current session user token: #include <Wtsapi32.h> …

winapi wtsapi32
WTSQuerySessionInformation returning empty strings

I've written a program which should query the Terminal Services API and print out some state information about the sessions …

c++ terminal-services wtsapi32