mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 12:23:30 +00:00
- Fix broken UnmapViewOfFile definition
svn path=/trunk/; revision=35027
This commit is contained in:
@@ -240,12 +240,12 @@ MapViewOfFile(HANDLE hFileMappingObject,
|
||||
*/
|
||||
BOOL
|
||||
NTAPI
|
||||
UnmapViewOfFile(LPVOID lpBaseAddress)
|
||||
UnmapViewOfFile(LPCVOID lpBaseAddress)
|
||||
{
|
||||
NTSTATUS Status;
|
||||
|
||||
/* Unmap the section */
|
||||
Status = NtUnmapViewOfSection(NtCurrentProcess(), lpBaseAddress);
|
||||
Status = NtUnmapViewOfSection(NtCurrentProcess(), (PVOID)lpBaseAddress);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
/* We failed */
|
||||
|
||||
@@ -2046,7 +2046,7 @@ BOOL WINAPI UnlockFile(HANDLE,DWORD,DWORD,DWORD,DWORD);
|
||||
BOOL WINAPI UnlockFileEx(HANDLE,DWORD,DWORD,DWORD,LPOVERLAPPED);
|
||||
#define UnlockResource(h) (h)
|
||||
#define UnlockSegment(w) GlobalUnfix((HANDLE)(w)) /* Obsolete: Has no effect. */
|
||||
BOOL WINAPI UnmapViewOfFile(PVOID);
|
||||
BOOL WINAPI UnmapViewOfFile(LPCVOID);
|
||||
#if (_WIN32_WINNT >= 0x0500)
|
||||
BOOL WINAPI UnregisterWait(HANDLE);
|
||||
BOOL WINAPI UnregisterWaitEx(HANDLE,HANDLE);
|
||||
|
||||
Reference in New Issue
Block a user