Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
1e2bc2f5
Commit
1e2bc2f5
authored
May 06, 2022
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 06, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Implement UnmapViewOfFileEx().
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
48d538ba
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
1 deletion
+12
-1
kernel32.spec
dlls/kernel32/kernel32.spec
+1
-0
kernelbase.spec
dlls/kernelbase/kernelbase.spec
+1
-1
memory.c
dlls/kernelbase/memory.c
+9
-0
winbase.h
include/winbase.h
+1
-0
No files found.
dlls/kernel32/kernel32.spec
View file @
1e2bc2f5
...
...
@@ -1557,6 +1557,7 @@
@ stdcall -import UnlockFile(long long long long long)
@ stdcall -import UnlockFileEx(long long long long ptr)
@ stdcall -import UnmapViewOfFile(ptr)
@ stdcall -import UnmapViewOfFileEx(ptr long)
# @ stub UnregisterApplicationRecoveryCallback
@ stdcall UnregisterApplicationRestart()
# @ stub UnregisterConsoleIME
...
...
dlls/kernelbase/kernelbase.spec
View file @
1e2bc2f5
...
...
@@ -1654,7 +1654,7 @@
@ stdcall UnlockFileEx(long long long long ptr)
@ stdcall UnmapViewOfFile(ptr)
@ stdcall UnmapViewOfFile2(long ptr long)
# @ stub UnmapViewOfFileEx
@ stdcall UnmapViewOfFileEx(ptr long)
# @ stub UnregisterBadMemoryNotification
# @ stub UnregisterGPNotificationInternal
# @ stub UnregisterStateChangeNotification
...
...
dlls/kernelbase/memory.c
View file @
1e2bc2f5
...
...
@@ -313,6 +313,15 @@ BOOL WINAPI DECLSPEC_HOTPATCH UnmapViewOfFile2( HANDLE process, void *addr, ULON
/***********************************************************************
* UnmapViewOfFileEx (kernelbase.@)
*/
BOOL
WINAPI
DECLSPEC_HOTPATCH
UnmapViewOfFileEx
(
void
*
addr
,
ULONG
flags
)
{
return
set_ntstatus
(
NtUnmapViewOfSectionEx
(
GetCurrentProcess
(),
addr
,
flags
));
}
/***********************************************************************
* VirtualAlloc (kernelbase.@)
*/
LPVOID
WINAPI
DECLSPEC_HOTPATCH
VirtualAlloc
(
void
*
addr
,
SIZE_T
size
,
DWORD
type
,
DWORD
protect
)
...
...
include/winbase.h
View file @
1e2bc2f5
...
...
@@ -2742,6 +2742,7 @@ WINBASEAPI BOOL WINAPI UnlockFileEx(HANDLE,DWORD,DWORD,DWORD,LPOVERLAPPED
#define UnlockSegment(handle) GlobalUnfix((HANDLE)(handle))
WINBASEAPI
BOOL
WINAPI
UnmapViewOfFile
(
LPCVOID
);
WINBASEAPI
BOOL
WINAPI
UnmapViewOfFile2
(
HANDLE
,
PVOID
,
ULONG
);
WINBASEAPI
BOOL
WINAPI
UnmapViewOfFileEx
(
PVOID
,
ULONG
);
WINBASEAPI
BOOL
WINAPI
UmsThreadYield
(
void
*
);
WINBASEAPI
HRESULT
WINAPI
UnregisterApplicationRestart
(
void
);
WINBASEAPI
BOOL
WINAPI
UnregisterWait
(
HANDLE
);
...
...
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