Process and Thread handles
Processes and threads are assigned acending integer indices from a
single range space. To go from an index to a Process or Thread Object
requires going through the Cid Table, pointed to by global location
PspCidTable.
The structure at this address is a HANDLE_TABLE (see ntos/inc/ex.h ).
The fourth DWORD in the table is the base of the handle table.
This array differs from a user's handle table in that the object pointers
need not be adjusted by 0x1c, and that the rights DWORD is always 0.
Here is an example: