Esempio n. 1
0
        internal ProcessCollection(Process process)
        {
            this.process = process;
            IntPtr intPtr = NativeMethods.CreateJobObject(IntPtr.Zero, null);

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