mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user