2.2.2.32 WINSTATIONUSERTOKEN
The WINSTATIONUSERTOKEN structure defines the user token for a session.
-
typedef struct _WINSTATIONUSERTOKEN { HANDLE ProcessId; HANDLE ThreadId; HANDLE UserToken; } WINSTATIONUSERTOKEN, *PWINSTATIONUSERTOKEN;
ProcessId: Specifies the Process ID.
ThreadId: Specifies the handle to the calling thread.
UserToken: Returns the user token that is currently logged on to the session.