WTS_PROCESS_INFO

WTS_PROCESS_INFO structure

Contains information about a process running on a Remote Desktop Session Host (RD Session Host) server.

Syntax


typedef struct _WTS_PROCESS_INFO {
  DWORD  SessionId;
  DWORD  ProcessId;
  LPTSTR pProcessName;
  PSID   pUserSid;
} WTS_PROCESS_INFO, *PWTS_PROCESS_INFO;

Members

SessionId

Remote Desktop Services session identifier for the session associated with the process.

ProcessId

Process identifier that uniquely identifies the process on the RD Session Host server.

pProcessName

Pointer to a null-terminated string containing the name of the executable file associated with the process.

pUserSid

Pointer to the user Security Identifiers in the process's primary access token. For more information about SIDs and access tokens, see Access Control.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Wtsapi32.h

Unicode and ANSI names

WTS_PROCESS_INFOW (Unicode) and WTS_PROCESS_INFOA (ANSI)

See also

WTSEnumerateProcesses

 

 

Show:
© 2016 Microsoft