internal ProcessCollection(Process process) { this.process = process; IntPtr intPtr = NativeMethods.CreateJobObject(IntPtr.Zero, null); this.jobObjectHandle = new ProcessNativeMethods.SafeLocalMemHandle(intPtr, false); }
public SECURITY_ATTRIBUTES() { this.nLength = 12; this.bInheritHandle = true; this.lpSecurityDescriptor = new ProcessNativeMethods.SafeLocalMemHandle(IntPtr.Zero, true); }