X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem%2FSystem.IO%2FMonoIO.cs;h=07fb5e9b6229b8d04dcbc1037b1b10a09e8a4e47;hb=6d4a4e8e31b317b8f127d4cfbcd9cf51bb613cff;hp=de2d9bfe5cfda86b8677c97cd670a5271d3003c9;hpb=1c14f1ee6d701510c15499d71fc2b324151a8629;p=mono.git diff --git a/mcs/class/System/System.IO/MonoIO.cs b/mcs/class/System/System.IO/MonoIO.cs index de2d9bfe5cf..07fb5e9b622 100644 --- a/mcs/class/System/System.IO/MonoIO.cs +++ b/mcs/class/System/System.IO/MonoIO.cs @@ -69,6 +69,10 @@ namespace System.IO [MethodImplAttribute (MethodImplOptions.InternalCall)] public extern static bool CreatePipe (out IntPtr read_handle, out IntPtr write_handle); + [MethodImplAttribute (MethodImplOptions.InternalCall)] + public extern static bool DuplicateHandle (IntPtr source_process_handle, IntPtr source_handle, + IntPtr target_process_handle, out IntPtr target_handle, int access, int inherit, int options); + [MethodImplAttribute (MethodImplOptions.InternalCall)] public extern static int GetTempPath(out string path); }