Hi,
I'm trying to retrieve the session ID of a process. More specifically, a printer driver process; and the session ID I need is the one in which the user who submitted the print job is working.
In Windows XP, I use the user's security token to let SYSTEM impersonate as that user, call...