public PROCESS_INFORMATION(IntPtr Process, IntPtr Thread, uint PID, uint TID) { this.Process = Process; this.Thread = Thread; this.ClientId = new CLIENT_ID(); this.ClientId.ProcessID = PID; this.ClientId.ThreadID = TID; }
public static extern bool RtlCreateUserThread(IntPtr Proc, IntPtr SecDesc, bool CreateSuspended, uint StackZeroBits, uint StackReserved, uint StackCommit, IntPtr StartAddr, IntPtr StartParam, IntPtr Thread, CLIENT_ID* Result);