Exemple #1
0
 public extern static int MoveFileTransactedW(
     [System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPWStr)] string lpExistingFileName,
     [System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPWStr)] string lpNewFileName,
     LPPROGRESS_ROUTINE lpProgressRoutine,
     System.IntPtr lpData,
     int dwFlags,
     System.IntPtr hTransaction);
Exemple #2
0
 public extern static int CopyFileTransactedW(
     [System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPWStr)] string lpExistingFileName,
     [System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPWStr)] string lpNewFileName,
     LPPROGRESS_ROUTINE lpProgressRoutine,
     System.IntPtr lpData,
     ref int pbCancel,
     COPY_FLAGS dwCopyFlags,
     System.IntPtr hTransaction);
Exemple #3
0
 public static extern bool CopyFileEx(
     [In] [MarshalAs(UnmanagedType.LPTStr)] string lpExistingFileName, [In] [MarshalAs(UnmanagedType.LPTStr)] string lpNewFileName,
     LPPROGRESS_ROUTINE lpProgressRoutine, [In] IntPtr lpData, [In] IntPtr pbCancel, COPY_FILE dwCopyFlags);
Exemple #4
0
 public static extern bool MoveFileWithProgress(
     [In] [MarshalAs(UnmanagedType.LPTStr)] string lpExistingFileName, [In] [MarshalAs(UnmanagedType.LPTStr)] string lpNewFileName,
     LPPROGRESS_ROUTINE lpProgressRoutine, [In] IntPtr lpData, MOVEFILE dwFlags);