- 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:
Michael Martin 2009-05-12 18:58:09 +00:00
parent 4f51185566
commit 889cc1b5b4

View file

@ -219,7 +219,6 @@ MapViewOfFileEx(HANDLE hFileMappingObject,
return NULL; return NULL;
} }
SetLastError(ERROR_SUCCESS);
/* Return the base */ /* Return the base */
return ViewBase; return ViewBase;
} }
@ -262,7 +261,6 @@ UnmapViewOfFile(LPCVOID lpBaseAddress)
return FALSE; return FALSE;
} }
SetLastError(ERROR_SUCCESS);
/* Otherwise, return sucess */ /* Otherwise, return sucess */
return TRUE; return TRUE;
} }
@ -385,7 +383,6 @@ FlushViewOfFile(LPCVOID lpBaseAddress,
return FALSE; return FALSE;
} }
SetLastError(ERROR_SUCCESS);
/* Return success */ /* Return success */
return TRUE; return TRUE;
} }