Пример #1
0
        internal ProcessCollection(Process process)
        {
            this.process = process;
            IntPtr intPtr = NativeMethods.CreateJobObject(IntPtr.Zero, null);

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