Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
06e7d91b
Commit
06e7d91b
authored
Sep 06, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Sep 08, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel: Constify a formal parameter.
parent
7aa89348
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
virtual.c
dlls/kernel/virtual.c
+2
-4
winbase.h
include/winbase.h
+1
-1
No files found.
dlls/kernel/virtual.c
View file @
06e7d91b
...
...
@@ -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
(
LP
C
VOID
addr
)
{
NTSTATUS
status
=
NtUnmapViewOfSection
(
GetCurrentProcess
(),
addr
);
NTSTATUS
status
=
NtUnmapViewOfSection
(
GetCurrentProcess
(),
(
void
*
)
addr
);
if
(
status
)
SetLastError
(
RtlNtStatusToDosError
(
status
)
);
return
!
status
;
}
...
...
include/winbase.h
View file @
06e7d91b
...
...
@@ -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
(
LP
C
VOID
);
BOOL
WINAPI
UnregisterWait
(
HANDLE
);
BOOL
WINAPI
UnregisterWaitEx
(
HANDLE
,
HANDLE
);
BOOL
WINAPI
UpdateResourceA
(
HANDLE
,
LPCSTR
,
LPCSTR
,
WORD
,
LPVOID
,
DWORD
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment