mirror of
https://github.com/reactos/reactos.git
synced 2025-01-13 01:22:03 +00:00
- Revert part of r40893. MapViewOfFile, UnmapViewOfFile and FlushViewOfFile do not SetLastError on Success. Kernel32_winetest for codepage back to 0 failures.
svn path=/trunk/; revision=40904
This commit is contained in:
parent
4f51185566
commit
889cc1b5b4
1 changed files with 0 additions and 3 deletions
|
@ -219,7 +219,6 @@ MapViewOfFileEx(HANDLE hFileMappingObject,
|
|||
return NULL;
|
||||
}
|
||||
|
||||
SetLastError(ERROR_SUCCESS);
|
||||
/* Return the base */
|
||||
return ViewBase;
|
||||
}
|
||||
|
@ -262,7 +261,6 @@ UnmapViewOfFile(LPCVOID lpBaseAddress)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
SetLastError(ERROR_SUCCESS);
|
||||
/* Otherwise, return sucess */
|
||||
return TRUE;
|
||||
}
|
||||
|
@ -385,7 +383,6 @@ FlushViewOfFile(LPCVOID lpBaseAddress,
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
SetLastError(ERROR_SUCCESS);
|
||||
/* Return success */
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue