mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
54 lines
2.0 KiB
Diff
54 lines
2.0 KiB
Diff
From 0aab8389ccbaf7c89a37112faef790ef45b0b15f Mon Sep 17 00:00:00 2001
|
|
From: Austin English <austinenglish@gmail.com>
|
|
Date: Tue, 3 Nov 2015 11:03:54 -0600
|
|
Subject: kernel32: add FreeUserPhysicalPages stub (try 2)
|
|
|
|
For https://bugs.winehq.org/show_bug.cgi?id=39543
|
|
|
|
Signed-off-by: Austin English <austinenglish@gmail.com>
|
|
---
|
|
dlls/kernel32/heap.c | 7 +++++++
|
|
dlls/kernel32/kernel32.spec | 4 ++--
|
|
2 files changed, 9 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/dlls/kernel32/heap.c b/dlls/kernel32/heap.c
|
|
index 0c05de6..e86b292 100644
|
|
--- a/dlls/kernel32/heap.c
|
|
+++ b/dlls/kernel32/heap.c
|
|
@@ -1490,3 +1490,10 @@ BOOL WINAPI AllocateUserPhysicalPages(HANDLE process, ULONG_PTR *pages, ULONG_PT
|
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|
return FALSE;
|
|
}
|
|
+
|
|
+BOOL WINAPI FreeUserPhysicalPages(HANDLE process, ULONG_PTR *pages, ULONG_PTR *userarray)
|
|
+{
|
|
+ FIXME("stub: %p %p %p\n", process, pages, userarray);
|
|
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|
+ return FALSE;
|
|
+}
|
|
diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec
|
|
index ff67e54..d4e1d01 100644
|
|
--- a/dlls/kernel32/kernel32.spec
|
|
+++ b/dlls/kernel32/kernel32.spec
|
|
@@ -154,7 +154,7 @@
|
|
@ stdcall AllocConsole()
|
|
@ stub -i386 AllocLSCallback
|
|
@ stdcall -i386 -private AllocSLCallback(ptr ptr) krnl386.exe16.AllocSLCallback
|
|
-@ stdcall AllocateUserPhysicalPages(ptr ptr ptr)
|
|
+@ stdcall AllocateUserPhysicalPages(long ptr ptr)
|
|
@ stdcall ApplicationRecoveryFinished(long)
|
|
@ stdcall ApplicationRecoveryInProgress(ptr)
|
|
@ stdcall AreFileApisANSI()
|
|
@@ -535,7 +535,7 @@
|
|
@ stdcall FreeLibraryWhenCallbackReturns(ptr ptr) ntdll.TpCallbackUnloadDllOnCompletion
|
|
@ stdcall FreeResource(long)
|
|
@ stdcall -i386 -private FreeSLCallback(long) krnl386.exe16.FreeSLCallback
|
|
-@ stub FreeUserPhysicalPages
|
|
+@ stdcall FreeUserPhysicalPages(long ptr ptr)
|
|
@ stub FreeVirtualBuffer
|
|
@ stdcall GenerateConsoleCtrlEvent(long long)
|
|
@ stdcall -i386 -private Get16DLLAddress(long str) krnl386.exe16.Get16DLLAddress
|
|
--
|
|
2.6.2
|
|
|