typedef struct _QPROCINFO1 { ULONG QPI_length; ULONG QPI_type; /* Type of process. */ ULONG QPI_pid; /* Process or task ID. */ ULONG QPI_parentpid; /* Parent process or task ID. */ SID QPI_sid; /* Session identifier. */ ULONG QPI_sessiontype; /* Session type. */ ULONG QPI_priority; /* Process priority. */ ULONG QPI_flags; /* Process flags. */ ULONG QPI_user; /* User identifier in UUID format. */ ULONG QPI_group; /* Group identifier in UUID format. */ ULONG QPI_hmodule; /* Module handle. */ ULONG QPI_nameoff; /* Offset to the process name. */ } QPROCINFO1; typedef QPROCINFO1 * QPROCINFO1 ;