VOID KiAttachProcess( IN PKPROCESS Process, IN KIRQL OldIrql ); Routine Description: This function attaches a thread to a target process' address space. N.B. The dispatcher database lock must be held when this routine is called. Arguments: Process - Supplies a pointer to a dispatcher object of type process. Thread - Supplies a pointer to a dispatcher object of type thread. OldIrql - Supplies the previous IRQL. Return Value: None.