mirror of
https://github.com/reactos/reactos.git
synced 2025-04-27 09:00:27 +00:00
Fix some part of MoveFileExW Bug, Can not move folder, but it still can not move folder. some bit more work.
svn path=/trunk/; revision=17901
This commit is contained in:
parent
90fedad977
commit
8e38aa25a1
1 changed files with 8 additions and 1 deletions
|
@ -325,7 +325,7 @@ MoveFileWithProgressW (
|
||||||
FILE_SHARE_WRITE|FILE_SHARE_READ,
|
FILE_SHARE_WRITE|FILE_SHARE_READ,
|
||||||
NULL,
|
NULL,
|
||||||
OPEN_EXISTING,
|
OPEN_EXISTING,
|
||||||
FILE_ATTRIBUTE_NORMAL,
|
FILE_FLAG_BACKUP_SEMANTICS,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
if (hFile == INVALID_HANDLE_VALUE)
|
if (hFile == INVALID_HANDLE_VALUE)
|
||||||
|
@ -366,6 +366,13 @@ MoveFileWithProgressW (
|
||||||
sizeof(FILE_RENAME_INFORMATION) + DstPathU.Length,
|
sizeof(FILE_RENAME_INFORMATION) + DstPathU.Length,
|
||||||
FileRenameInformation);
|
FileRenameInformation);
|
||||||
CloseHandle(hFile);
|
CloseHandle(hFile);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* FIXME:
|
||||||
|
* Fail now move the folder
|
||||||
|
* Before we fail at CreateFileW
|
||||||
|
*/
|
||||||
|
|
||||||
if (NT_SUCCESS(errCode))
|
if (NT_SUCCESS(errCode))
|
||||||
{
|
{
|
||||||
Result = TRUE;
|
Result = TRUE;
|
||||||
|
|
Loading…
Reference in a new issue