kernel: Constify a formal parameter.
This commit is contained in:
parent
7aa893481e
commit
06e7d91bad
|
@ -546,12 +546,10 @@ LPVOID WINAPI MapViewOfFileEx( HANDLE handle, DWORD access,
|
|||
* Success: TRUE.
|
||||
* Failure: FALSE.
|
||||
*
|
||||
* NOTES
|
||||
* Should addr be an LPCVOID?
|
||||
*/
|
||||
BOOL WINAPI UnmapViewOfFile( LPVOID addr )
|
||||
BOOL WINAPI UnmapViewOfFile( LPCVOID addr )
|
||||
{
|
||||
NTSTATUS status = NtUnmapViewOfSection( GetCurrentProcess(), addr );
|
||||
NTSTATUS status = NtUnmapViewOfSection( GetCurrentProcess(), (void *)addr );
|
||||
if (status) SetLastError( RtlNtStatusToDosError(status) );
|
||||
return !status;
|
||||
}
|
||||
|
|
|
@ -2008,7 +2008,7 @@ BOOL WINAPI TzSpecificLocalTimeToSystemTime(LPTIME_ZONE_INFORMATION,LPSYS
|
|||
BOOL WINAPI UnlockFile(HANDLE,DWORD,DWORD,DWORD,DWORD);
|
||||
BOOL WINAPI UnlockFileEx(HANDLE,DWORD,DWORD,DWORD,LPOVERLAPPED);
|
||||
#define UnlockSegment(handle) GlobalUnfix((HANDLE)(handle))
|
||||
BOOL WINAPI UnmapViewOfFile(LPVOID);
|
||||
BOOL WINAPI UnmapViewOfFile(LPCVOID);
|
||||
BOOL WINAPI UnregisterWait(HANDLE);
|
||||
BOOL WINAPI UnregisterWaitEx(HANDLE,HANDLE);
|
||||
BOOL WINAPI UpdateResourceA(HANDLE,LPCSTR,LPCSTR,WORD,LPVOID,DWORD);
|
||||
|
|
Loading…
Reference in New Issue