2.2.2.15 TS_ALL_PROCESSES_INFO

The TS_ALL_PROCESSES_INFO structure contains data on all the processes on the system accessible to the user who issued the call.

 typedef struct _TS_ALL_PROCESSES_INFO {
   PTS_SYS_PROCESS_INFORMATION pTsProcessInfo;
   DWORD SizeOfSid;
 #ifdef __midl
   [size_is(SizeOfSid)] PBYTE pSid;
 #else
   PBYTE pSid;
 #endif
 } TS_ALL_PROCESSES_INFO,
  *PTS_ALL_PROCESSES_INFO;

pTsProcessInfo: Pointer to the process information TS_SYS_PROCESS_INFORMATION.

SizeOfSid: Size of pSid, in bytes.

pSid: The security identifier (SID), as specified in [MS-DTYP], of the owner of the process.