声明WinAPI

[DllImport("KERNEL32.DLL", EntryPoint="MoveFileW", SetLastError=true,
  CharSet=CharSet.Unicode, ExactSpelling=true,
  CallingConvention=CallingConvention.StdCall)]
public static extern bool MoveFile(String src, String dst);

 

1、

2、

 

posted @ 2016-06-01 13:18  csskill  阅读(192)  评论(0编辑  收藏  举报