CopyFileEx (coredll)
Last changed: -212.185.43.203

.
Summary
Copies a file with additional progress information and the callback routine offers to abort the transaction

C# Signature:

[DllImport("coredll.dll", SetLastError=true)]
[return: MarshalAs(UnmanagedType.Bool)]
static extern bool CopyFileEx(string lpExistingFileName,
      string lpNewFileName,
      CopyProgressRoutine lpProgressRoutine,
      IntPtr lpData,
      ref Int32 pbCancel,
      CopyFileFlags dwCopyFlags););

User-Defined Types:

CopyProgressRoutine.

Alternative Managed API:

File.Copy() copies a file without progress information.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation
CopyFileEx on MSDN