You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-09-12 18:50:20 -07:00
Rebase against 63bcfa3354edd910ee52b8134af191f7a774b701.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 5ed89dfbb6c34cff32bdca1f3790d3e34e145f32 Mon Sep 17 00:00:00 2001
|
||||
From 2ed5ce815519c93d30ed8ff2feb94caa1e5fc3be Mon Sep 17 00:00:00 2001
|
||||
From: Dmitry Timoshkov <dmitry@baikal.ru>
|
||||
Date: Thu, 16 Jun 2016 18:56:21 +0800
|
||||
Subject: kernel32: Add a bunch of kernel32 stubs.
|
||||
@@ -18,7 +18,7 @@ fails to start if any of these APIs is missing.
|
||||
9 files changed, 214 insertions(+), 19 deletions(-)
|
||||
|
||||
diff --git a/dlls/api-ms-win-core-processthreads-l1-1-0/api-ms-win-core-processthreads-l1-1-0.spec b/dlls/api-ms-win-core-processthreads-l1-1-0/api-ms-win-core-processthreads-l1-1-0.spec
|
||||
index e555071..ed4e803 100644
|
||||
index e555071d08..ed4e803372 100644
|
||||
--- a/dlls/api-ms-win-core-processthreads-l1-1-0/api-ms-win-core-processthreads-l1-1-0.spec
|
||||
+++ b/dlls/api-ms-win-core-processthreads-l1-1-0/api-ms-win-core-processthreads-l1-1-0.spec
|
||||
@@ -2,7 +2,7 @@
|
||||
@@ -31,7 +31,7 @@ index e555071..ed4e803 100644
|
||||
@ stdcall DeleteProcThreadAttributeList(ptr) kernel32.DeleteProcThreadAttributeList
|
||||
@ stdcall ExitProcess(long) kernel32.ExitProcess
|
||||
diff --git a/dlls/api-ms-win-core-processthreads-l1-1-1/api-ms-win-core-processthreads-l1-1-1.spec b/dlls/api-ms-win-core-processthreads-l1-1-1/api-ms-win-core-processthreads-l1-1-1.spec
|
||||
index e7e2c02..9d321af 100644
|
||||
index e7e2c02b30..9d321af724 100644
|
||||
--- a/dlls/api-ms-win-core-processthreads-l1-1-1/api-ms-win-core-processthreads-l1-1-1.spec
|
||||
+++ b/dlls/api-ms-win-core-processthreads-l1-1-1/api-ms-win-core-processthreads-l1-1-1.spec
|
||||
@@ -2,7 +2,7 @@
|
||||
@@ -44,7 +44,7 @@ index e7e2c02..9d321af 100644
|
||||
@ stdcall DeleteProcThreadAttributeList(ptr) kernel32.DeleteProcThreadAttributeList
|
||||
@ stdcall ExitProcess(long) kernel32.ExitProcess
|
||||
diff --git a/dlls/api-ms-win-core-processthreads-l1-1-2/api-ms-win-core-processthreads-l1-1-2.spec b/dlls/api-ms-win-core-processthreads-l1-1-2/api-ms-win-core-processthreads-l1-1-2.spec
|
||||
index 968b960..0e30f18 100644
|
||||
index 968b960a6a..0e30f18e52 100644
|
||||
--- a/dlls/api-ms-win-core-processthreads-l1-1-2/api-ms-win-core-processthreads-l1-1-2.spec
|
||||
+++ b/dlls/api-ms-win-core-processthreads-l1-1-2/api-ms-win-core-processthreads-l1-1-2.spec
|
||||
@@ -2,7 +2,7 @@
|
||||
@@ -57,7 +57,7 @@ index 968b960..0e30f18 100644
|
||||
@ stdcall DeleteProcThreadAttributeList(ptr) kernel32.DeleteProcThreadAttributeList
|
||||
@ stdcall ExitProcess(long) kernel32.ExitProcess
|
||||
diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec
|
||||
index 224e6ae..dc16a8e 100644
|
||||
index 31ce4565b9..819b52dbb9 100644
|
||||
--- a/dlls/kernel32/kernel32.spec
|
||||
+++ b/dlls/kernel32/kernel32.spec
|
||||
@@ -319,7 +319,7 @@
|
||||
@@ -108,7 +108,7 @@ index 224e6ae..dc16a8e 100644
|
||||
@ stdcall ExitProcess(long)
|
||||
@ stdcall ExitThread(long)
|
||||
@ stub ExitVDM
|
||||
@@ -635,7 +635,7 @@
|
||||
@@ -637,7 +637,7 @@
|
||||
@ stdcall GetCurrentProcessorNumberEx(ptr) ntdll.RtlGetCurrentProcessorNumberEx
|
||||
@ stdcall -norelay GetCurrentThread()
|
||||
@ stdcall -norelay GetCurrentThreadId()
|
||||
@@ -117,7 +117,7 @@ index 224e6ae..dc16a8e 100644
|
||||
@ stdcall GetDateFormatA(long long ptr str ptr long)
|
||||
@ stdcall GetDateFormatEx(wstr long ptr wstr ptr long wstr)
|
||||
@ stdcall GetDateFormatW(long long ptr wstr ptr long)
|
||||
@@ -733,7 +733,7 @@
|
||||
@@ -735,7 +735,7 @@
|
||||
# @ stub GetNamedPipeServerProcessId
|
||||
# @ stub GetNamedPipeServerSessionId
|
||||
@ stdcall GetNativeSystemInfo(ptr)
|
||||
@@ -126,7 +126,7 @@ index 224e6ae..dc16a8e 100644
|
||||
@ stub GetNextVDMCommand
|
||||
@ stub GetNlsSectionName
|
||||
# @ stub GetNLSVersion
|
||||
@@ -863,7 +863,7 @@
|
||||
@@ -865,7 +865,7 @@
|
||||
@ stdcall GetTimeZoneInformationForYear(long ptr ptr)
|
||||
@ stdcall GetThreadUILanguage()
|
||||
# @ stub GetUILanguageInfo
|
||||
@@ -135,7 +135,7 @@ index 224e6ae..dc16a8e 100644
|
||||
# @ stub -arch=x86_64 GetUmsSystemThreadInformation
|
||||
@ stdcall GetUserDefaultLCID()
|
||||
@ stdcall GetUserDefaultLangID()
|
||||
@@ -1172,7 +1172,7 @@
|
||||
@@ -1174,7 +1174,7 @@
|
||||
@ stdcall QueryThreadCycleTime(long ptr)
|
||||
# @ stub QueryThreadProfiling
|
||||
# @ stub QueryThreadpoolStackInformation
|
||||
@@ -144,7 +144,7 @@ index 224e6ae..dc16a8e 100644
|
||||
@ stdcall QueryUnbiasedInterruptTime(ptr)
|
||||
@ stub QueryWin31IniFilesMappedToRegistry
|
||||
@ stdcall QueueUserAPC(ptr long long)
|
||||
@@ -1461,7 +1461,7 @@
|
||||
@@ -1463,7 +1463,7 @@
|
||||
@ stdcall SetThreadpoolWait(ptr long ptr)
|
||||
@ stdcall SetTimeZoneInformation(ptr)
|
||||
@ stub SetTimerQueueTimer
|
||||
@@ -153,7 +153,7 @@ index 224e6ae..dc16a8e 100644
|
||||
@ stdcall SetUnhandledExceptionFilter(ptr)
|
||||
@ stdcall SetUserGeoID(long)
|
||||
@ stub SetVDMCurrentDirectories
|
||||
@@ -1521,7 +1521,7 @@
|
||||
@@ -1523,7 +1523,7 @@
|
||||
# @ stub -arch=x86_64 uaw_wcsicmp
|
||||
# @ stub -arch=x86_64 uaw_wcslen
|
||||
# @ stub -arch=x86_64 uaw_wcsrchr
|
||||
@@ -163,7 +163,7 @@ index 224e6ae..dc16a8e 100644
|
||||
@ stdcall -i386 -private UTRegister(long str str str ptr ptr ptr) krnl386.exe16.UTRegister
|
||||
@ stdcall -i386 -private UTUnRegister(long) krnl386.exe16.UTUnRegister
|
||||
diff --git a/dlls/kernel32/sync.c b/dlls/kernel32/sync.c
|
||||
index 494db9c..d099832 100644
|
||||
index 494db9c1a3..d099832b84 100644
|
||||
--- a/dlls/kernel32/sync.c
|
||||
+++ b/dlls/kernel32/sync.c
|
||||
@@ -2452,3 +2452,148 @@ BOOL WINAPI SleepConditionVariableSRW( RTL_CONDITION_VARIABLE *variable, RTL_SRW
|
||||
@@ -316,7 +316,7 @@ index 494db9c..d099832 100644
|
||||
+ return FALSE;
|
||||
+}
|
||||
diff --git a/dlls/kernel32/thread.c b/dlls/kernel32/thread.c
|
||||
index 82ccebe..fd4f299 100644
|
||||
index de466185e9..c8dd94bbea 100644
|
||||
--- a/dlls/kernel32/thread.c
|
||||
+++ b/dlls/kernel32/thread.c
|
||||
@@ -113,6 +113,18 @@ HANDLE WINAPI CreateRemoteThread( HANDLE hProcess, SECURITY_ATTRIBUTES *sa, SIZE
|
||||
@@ -339,20 +339,20 @@ index 82ccebe..fd4f299 100644
|
||||
* OpenThread [KERNEL32.@] Retrieves a handle to a thread from its thread id
|
||||
*/
|
||||
diff --git a/dlls/kernelbase/kernelbase.spec b/dlls/kernelbase/kernelbase.spec
|
||||
index 064f792..f104030 100644
|
||||
index ff0e75fc44..da7c50a820 100644
|
||||
--- a/dlls/kernelbase/kernelbase.spec
|
||||
+++ b/dlls/kernelbase/kernelbase.spec
|
||||
@@ -85,7 +85,7 @@
|
||||
@ stdcall CreatePrivateObjectSecurityEx(ptr ptr ptr ptr long long long ptr) advapi32.CreatePrivateObjectSecurityEx
|
||||
@ stdcall CreatePrivateObjectSecurityWithMultipleInheritance(ptr ptr ptr ptr long long long long ptr) advapi32.CreatePrivateObjectSecurityWithMultipleInheritance
|
||||
@@ -212,7 +212,7 @@
|
||||
# @ stub CreateProcessInternalW
|
||||
@ stdcall CreateProcessW(wstr wstr ptr ptr long long ptr wstr ptr ptr) kernel32.CreateProcessW
|
||||
@ stdcall CreateRemoteThread(long ptr long ptr long long ptr) kernel32.CreateRemoteThread
|
||||
-@ stub CreateRemoteThreadEx
|
||||
+@ stdcall CreateRemoteThreadEx(long ptr long ptr long long ptr ptr) kernel32.CreateRemoteThreadEx
|
||||
@ stdcall CreateRestrictedToken(long long long ptr long ptr long ptr ptr) advapi32.CreateRestrictedToken
|
||||
@ stdcall CreateSemaphoreExW(ptr long long wstr long long) kernel32.CreateSemaphoreExW
|
||||
@ stdcall CreateThread(ptr long ptr long long ptr) kernel32.CreateThread
|
||||
@ stdcall CreateSemaphoreW(ptr long long wstr) kernel32.CreateSemaphoreW
|
||||
diff --git a/include/winbase.h b/include/winbase.h
|
||||
index eff5972..dd355b1 100644
|
||||
index 894156c0f7..a4b7a0ad19 100644
|
||||
--- a/include/winbase.h
|
||||
+++ b/include/winbase.h
|
||||
@@ -1682,6 +1682,20 @@ typedef enum _PROC_THREAD_ATTRIBUTE_NUM
|
||||
@@ -376,7 +376,7 @@ index eff5972..dd355b1 100644
|
||||
WINBASEAPI BOOL WINAPI ActivateActCtx(HANDLE,ULONG_PTR *);
|
||||
WINADVAPI BOOL WINAPI AddAccessAllowedAce(PACL,DWORD,DWORD,PSID);
|
||||
WINADVAPI BOOL WINAPI AddAccessAllowedAceEx(PACL,DWORD,DWORD,DWORD,PSID);
|
||||
@@ -1827,6 +1841,7 @@ WINADVAPI BOOL WINAPI CreateProcessAsUserW(HANDLE,LPCWSTR,LPWSTR,LPSECUR
|
||||
@@ -1830,6 +1844,7 @@ WINADVAPI BOOL WINAPI CreateProcessAsUserW(HANDLE,LPCWSTR,LPWSTR,LPSECUR
|
||||
#define CreateProcessAsUser WINELIB_NAME_AW(CreateProcessAsUser)
|
||||
WINADVAPI BOOL WINAPI CreateProcessWithLogonW(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,LPCWSTR,LPWSTR,DWORD,LPVOID,LPCWSTR,LPSTARTUPINFOW,LPPROCESS_INFORMATION);
|
||||
WINBASEAPI HANDLE WINAPI CreateRemoteThread(HANDLE,LPSECURITY_ATTRIBUTES,SIZE_T,LPTHREAD_START_ROUTINE,LPVOID,DWORD,LPDWORD);
|
||||
@@ -384,7 +384,7 @@ index eff5972..dd355b1 100644
|
||||
WINADVAPI BOOL WINAPI CreateRestrictedToken(HANDLE,DWORD,DWORD,PSID_AND_ATTRIBUTES,DWORD,PLUID_AND_ATTRIBUTES,DWORD,PSID_AND_ATTRIBUTES,PHANDLE);
|
||||
WINBASEAPI HANDLE WINAPI CreateSemaphoreA(LPSECURITY_ATTRIBUTES,LONG,LONG,LPCSTR);
|
||||
WINBASEAPI HANDLE WINAPI CreateSemaphoreW(LPSECURITY_ATTRIBUTES,LONG,LONG,LPCWSTR);
|
||||
@@ -1844,6 +1859,8 @@ WINBASEAPI DWORD WINAPI CreateTapePartition(HANDLE,DWORD,DWORD,DWORD);
|
||||
@@ -1847,6 +1862,8 @@ WINBASEAPI DWORD WINAPI CreateTapePartition(HANDLE,DWORD,DWORD,DWORD);
|
||||
WINBASEAPI HANDLE WINAPI CreateThread(LPSECURITY_ATTRIBUTES,SIZE_T,LPTHREAD_START_ROUTINE,LPVOID,DWORD,LPDWORD);
|
||||
WINBASEAPI HANDLE WINAPI CreateTimerQueue(void);
|
||||
WINBASEAPI BOOL WINAPI CreateTimerQueueTimer(PHANDLE,HANDLE,WAITORTIMERCALLBACK,PVOID,DWORD,DWORD,ULONG);
|
||||
@@ -393,7 +393,7 @@ index eff5972..dd355b1 100644
|
||||
WINBASEAPI HANDLE WINAPI CreateWaitableTimerA(LPSECURITY_ATTRIBUTES,BOOL,LPCSTR);
|
||||
WINBASEAPI HANDLE WINAPI CreateWaitableTimerW(LPSECURITY_ATTRIBUTES,BOOL,LPCWSTR);
|
||||
#define CreateWaitableTimer WINELIB_NAME_AW(CreateWaitableTimer)
|
||||
@@ -1902,6 +1919,7 @@ WINBASEAPI BOOL WINAPI EndUpdateResourceA(HANDLE,BOOL);
|
||||
@@ -1905,6 +1922,7 @@ WINBASEAPI BOOL WINAPI EndUpdateResourceA(HANDLE,BOOL);
|
||||
WINBASEAPI BOOL WINAPI EndUpdateResourceW(HANDLE,BOOL);
|
||||
#define EndUpdateResource WINELIB_NAME_AW(EndUpdateResource)
|
||||
WINBASEAPI void WINAPI EnterCriticalSection(CRITICAL_SECTION *lpCrit);
|
||||
@@ -402,10 +402,10 @@ index eff5972..dd355b1 100644
|
||||
WINBASEAPI BOOL WINAPI EnumResourceLanguagesW(HMODULE,LPCWSTR,LPCWSTR,ENUMRESLANGPROCW,LONG_PTR);
|
||||
#define EnumResourceLanguages WINELIB_NAME_AW(EnumResourceLanguages)
|
||||
diff --git a/include/winnt.h b/include/winnt.h
|
||||
index 72c399b..5f7f7fe 100644
|
||||
index 3c5f0b8cb3..be43110ee6 100644
|
||||
--- a/include/winnt.h
|
||||
+++ b/include/winnt.h
|
||||
@@ -6008,9 +6008,29 @@ typedef VOID (CALLBACK *PTP_TIMER_CALLBACK)(PTP_CALLBACK_INSTANCE,PVOID,PTP_TIME
|
||||
@@ -6022,9 +6022,29 @@ typedef VOID (CALLBACK *PTP_TIMER_CALLBACK)(PTP_CALLBACK_INSTANCE,PVOID,PTP_TIME
|
||||
typedef VOID (CALLBACK *PTP_WAIT_CALLBACK)(PTP_CALLBACK_INSTANCE,PVOID,PTP_WAIT,TP_WAIT_RESULT);
|
||||
typedef VOID (CALLBACK *PTP_WIN32_IO_CALLBACK)(PTP_CALLBACK_INSTANCE,PVOID,PVOID,ULONG,ULONG_PTR,PTP_IO);
|
||||
|
||||
@@ -437,5 +437,5 @@ index 72c399b..5f7f7fe 100644
|
||||
}
|
||||
#endif
|
||||
--
|
||||
2.9.0
|
||||
2.11.0
|
||||
|
||||
|
Reference in New Issue
Block a user