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
f8005954
Commit
f8005954
authored
Apr 25, 2019
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Apr 25, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Add MapUserPhysicalPages stub.
Signed-off-by:
Dmitry Timoshkov
<
dmitry@baikal.ru
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a20014a5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
3 deletions
+12
-3
api-ms-win-core-memory-l1-1-2.spec
...win-core-memory-l1-1-2/api-ms-win-core-memory-l1-1-2.spec
+1
-1
heap.c
dlls/kernel32/heap.c
+8
-0
kernel32.spec
dlls/kernel32/kernel32.spec
+1
-1
kernelbase.spec
dlls/kernelbase/kernelbase.spec
+1
-1
winbase.h
include/winbase.h
+1
-0
No files found.
dlls/api-ms-win-core-memory-l1-1-2/api-ms-win-core-memory-l1-1-2.spec
View file @
f8005954
...
...
@@ -11,7 +11,7 @@
@ stdcall GetProcessWorkingSetSizeEx(long ptr ptr ptr) kernel32.GetProcessWorkingSetSizeEx
@ stdcall GetSystemFileCacheSize(ptr ptr ptr) kernel32.GetSystemFileCacheSize
@ stdcall GetWriteWatch(long ptr long ptr ptr ptr) kernel32.GetWriteWatch
@ st
ub
MapUserPhysicalPages
@ st
dcall MapUserPhysicalPages(ptr long ptr) kernel32.
MapUserPhysicalPages
@ stdcall MapViewOfFile(long long long long long) kernel32.MapViewOfFile
@ stdcall MapViewOfFileEx(long long long long long ptr) kernel32.MapViewOfFileEx
@ stub MapViewOfFileFromApp
...
...
dlls/kernel32/heap.c
View file @
f8005954
...
...
@@ -1491,3 +1491,11 @@ BOOL WINAPI FreeUserPhysicalPages(HANDLE process, ULONG_PTR *pages, ULONG_PTR *u
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
BOOL
WINAPI
MapUserPhysicalPages
(
PVOID
addr
,
ULONG_PTR
page_count
,
PULONG_PTR
pages
)
{
FIXME
(
"(%p, %lu, %p): stub
\n
"
,
addr
,
page_count
,
pages
);
*
pages
=
0
;
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
dlls/kernel32/kernel32.spec
View file @
f8005954
...
...
@@ -1076,7 +1076,7 @@
@ stdcall -i386 -private MapLS(ptr) krnl386.exe16.MapLS
@ stdcall -i386 -private MapSL(long) krnl386.exe16.MapSL
@ stdcall -i386 -private MapSLFix(long) krnl386.exe16.MapSLFix
# @ stub MapUserPhysicalPages
@ stdcall MapUserPhysicalPages(ptr long ptr)
# @ stub MapUserPhysicalPagesScatter
@ stdcall MapViewOfFile(long long long long long)
@ stdcall MapViewOfFileEx(long long long long long ptr)
...
...
dlls/kernelbase/kernelbase.spec
View file @
f8005954
...
...
@@ -948,7 +948,7 @@
@ stdcall MakeSelfRelativeSD(ptr ptr ptr) advapi32.MakeSelfRelativeSD
@ stdcall MapGenericMask(ptr ptr) advapi32.MapGenericMask
# @ stub MapPredefinedHandleInternal
# @ stub
MapUserPhysicalPages
@ stdcall MapUserPhysicalPages(ptr long ptr) kernel32.
MapUserPhysicalPages
@ stdcall MapViewOfFile(long long long long long) kernel32.MapViewOfFile
@ stdcall MapViewOfFileEx(long long long long long ptr) kernel32.MapViewOfFileEx
@ stub MapViewOfFileExNuma
...
...
include/winbase.h
View file @
f8005954
...
...
@@ -2435,6 +2435,7 @@ WINADVAPI BOOL WINAPI MakeSelfRelativeSD(PSECURITY_DESCRIPTOR,PSECURITY_
WINADVAPI
VOID
WINAPI
MapGenericMask
(
PDWORD
,
PGENERIC_MAPPING
);
WINBASEAPI
HMODULE
WINAPI
MapHModuleSL
(
WORD
);
WINBASEAPI
WORD
WINAPI
MapHModuleLS
(
HMODULE
);
WINBASEAPI
BOOL
WINAPI
MapUserPhysicalPages
(
PVOID
,
ULONG_PTR
,
PULONG_PTR
);
WINBASEAPI
LPVOID
WINAPI
MapViewOfFile
(
HANDLE
,
DWORD
,
DWORD
,
DWORD
,
SIZE_T
);
WINBASEAPI
LPVOID
WINAPI
MapViewOfFileEx
(
HANDLE
,
DWORD
,
DWORD
,
DWORD
,
SIZE_T
,
LPVOID
);
WINBASEAPI
BOOL
WINAPI
MoveFileA
(
LPCSTR
,
LPCSTR
);
...
...
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