-
-
[旧帖]
[求助]文件夹复制问提
0.00雪花
-
发表于:
2014-9-23 21:47
1449
-
bool MoveFile()
{
WCHAR *pszUnicode = L"c:\\种子资源"; // unicode string
WCHAR *pnicode = L"C:\\Documents and Settings\\Administrator\\桌面\\"; // unicode string
SHFILEOPSTRUCTW FileOp={0};
FileOp.fFlags = FOF_NOCONFIRMATION|FOF_SILENT | //不出现确认对话框
FOF_NOCONFIRMMKDIR ; //需要时直接创建一个文件夹,不需用户确定
FileOp.pFrom = pszUnicode;
FileOp.pTo = pnicode;
FileOp.wFunc = FO_MOVE;
return SHFileOperationW(&FileOp) == 0;
}、]
为什么失败哦
[课程]Linux pwn 探索篇!