From 3a8de0f3f4d24c9a641e3c98bda9fa425e591242 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Tue, 4 Apr 2017 03:59:24 +0200 Subject: [PATCH] Rebase against 63bcfa3354edd910ee52b8134af191f7a774b701. --- ...i32-Implement-LsaLookupPrivilegeName.patch | 20 +- ...ub-for-LsaLookupPrivilegeDisplayName.patch | 14 +- ...-dll-and-add-stub-for-QuirkIsEnabled.patch | 1721 +---------------- ...nelbase-Add-stub-for-QuirkIsEnabled3.patch | 24 +- ...el32-Add-stub-for-GetPackageFullName.patch | 26 +- ...d-stub-for-SetThreadIdealProcessorEx.patch | 20 +- ...rnel32-Add-a-bunch-of-kernel32-stubs.patch | 50 +- patches/patchinstall.sh | 2 +- ...3d-Allow-creation-of-1d-shader-views.patch | 26 +- ...der-target-view-clears-through-the-c.patch | 20 +- ...-update_texture-calls-through-the-CS.patch | 20 +- ...stroying-views-in-color-and-depth-fi.patch | 20 +- .../wined3d-CSMT_Main/9999-IfDefined.patch | 56 +- 13 files changed, 170 insertions(+), 1849 deletions(-) diff --git a/patches/advapi-LsaLookupPrivilegeName/0003-advapi32-Implement-LsaLookupPrivilegeName.patch b/patches/advapi-LsaLookupPrivilegeName/0003-advapi32-Implement-LsaLookupPrivilegeName.patch index d7394a4a..eb3d4c3a 100644 --- a/patches/advapi-LsaLookupPrivilegeName/0003-advapi32-Implement-LsaLookupPrivilegeName.patch +++ b/patches/advapi-LsaLookupPrivilegeName/0003-advapi32-Implement-LsaLookupPrivilegeName.patch @@ -1,4 +1,4 @@ -From fdc085e009942fa89ef5f0cd4104ab78c9d80b1b Mon Sep 17 00:00:00 2001 +From bee5e0baac722c66ad8c1034a65a2cecfe74716e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20M=C3=BCller?= Date: Sun, 5 Mar 2017 23:50:06 +0100 Subject: advapi32: Implement LsaLookupPrivilegeName. @@ -12,20 +12,20 @@ Subject: advapi32: Implement LsaLookupPrivilegeName. 5 files changed, 60 insertions(+), 10 deletions(-) diff --git a/dlls/advapi32/advapi32.spec b/dlls/advapi32/advapi32.spec -index 3000973265c..2c599c8bd92 100644 +index 078bb8fc25..124f527282 100644 --- a/dlls/advapi32/advapi32.spec +++ b/dlls/advapi32/advapi32.spec -@@ -446,7 +446,7 @@ - @ stdcall LsaLookupNames2(ptr long long ptr ptr ptr) +@@ -469,7 +469,7 @@ @ stdcall LsaLookupNames(long long ptr ptr ptr) + @ stdcall LsaLookupNames2(ptr long long ptr ptr ptr) @ stub LsaLookupPrivilegeDisplayName -# @ stub LsaLookupPrivilegeName +@ stdcall LsaLookupPrivilegeName(long ptr ptr) # @ stub LsaLookupPrivilegeValue @ stdcall LsaLookupSids(ptr long ptr ptr ptr) - # @ stub LsaManageSidNameMapping + # @ stub LsaLookupSids2 diff --git a/dlls/advapi32/advapi32_misc.h b/dlls/advapi32/advapi32_misc.h -index d116ecb836e..ecb07f635a6 100644 +index d116ecb836..ecb07f635a 100644 --- a/dlls/advapi32/advapi32_misc.h +++ b/dlls/advapi32/advapi32_misc.h @@ -68,4 +68,6 @@ static inline WCHAR *strdupAW( const char *src ) @@ -36,10 +36,10 @@ index d116ecb836e..ecb07f635a6 100644 + #endif /* __WINE_ADVAPI32MISC_H */ diff --git a/dlls/advapi32/lsa.c b/dlls/advapi32/lsa.c -index 0f2167d19ab..6a7a69a9eb7 100644 +index 479201bfc1..ceb3b05c05 100644 --- a/dlls/advapi32/lsa.c +++ b/dlls/advapi32/lsa.c -@@ -1012,3 +1012,41 @@ NTSTATUS WINAPI LsaUnregisterPolicyChangeNotification( +@@ -973,3 +973,41 @@ NTSTATUS WINAPI LsaUnregisterPolicyChangeNotification( FIXME("(%d,%p) stub\n", class, event); return STATUS_SUCCESS; } @@ -82,7 +82,7 @@ index 0f2167d19ab..6a7a69a9eb7 100644 + return STATUS_SUCCESS; +} diff --git a/dlls/advapi32/security.c b/dlls/advapi32/security.c -index b0b368d6abf..24ec3099713 100644 +index e36792cff4..3bc8f48b19 100644 --- a/dlls/advapi32/security.c +++ b/dlls/advapi32/security.c @@ -1840,7 +1840,7 @@ static const WCHAR SE_IMPERSONATE_NAME_W[] = @@ -146,7 +146,7 @@ index b0b368d6abf..24ec3099713 100644 } } diff --git a/include/ntsecapi.h b/include/ntsecapi.h -index 2bb3d312e43..0bf0eca43ed 100644 +index 2bb3d312e4..0bf0eca43e 100644 --- a/include/ntsecapi.h +++ b/include/ntsecapi.h @@ -370,6 +370,7 @@ NTSTATUS WINAPI LsaLookupNames(LSA_HANDLE,ULONG,PLSA_UNICODE_STRING,PLSA_REFEREN diff --git a/patches/advapi-LsaLookupPrivilegeName/0004-advapi32-Add-stub-for-LsaLookupPrivilegeDisplayName.patch b/patches/advapi-LsaLookupPrivilegeName/0004-advapi32-Add-stub-for-LsaLookupPrivilegeDisplayName.patch index 22a14ecd..a72abc26 100644 --- a/patches/advapi-LsaLookupPrivilegeName/0004-advapi32-Add-stub-for-LsaLookupPrivilegeDisplayName.patch +++ b/patches/advapi-LsaLookupPrivilegeName/0004-advapi32-Add-stub-for-LsaLookupPrivilegeDisplayName.patch @@ -1,4 +1,4 @@ -From 01efac6b4fa338715ad775c147a6bfc42e0bc38e Mon Sep 17 00:00:00 2001 +From 63d642a1af3ccc579123cb8fd13959ab5e9136dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20M=C3=BCller?= Date: Mon, 6 Mar 2017 00:01:53 +0100 Subject: advapi32: Add stub for LsaLookupPrivilegeDisplayName. @@ -9,23 +9,23 @@ Subject: advapi32: Add stub for LsaLookupPrivilegeDisplayName. 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/dlls/advapi32/advapi32.spec b/dlls/advapi32/advapi32.spec -index 2c599c8bd92..ce1838d8c5a 100644 +index 124f527282..0b03cec3f5 100644 --- a/dlls/advapi32/advapi32.spec +++ b/dlls/advapi32/advapi32.spec -@@ -445,7 +445,7 @@ +@@ -468,7 +468,7 @@ # @ stub LsaICLookupSidsWithCreds - @ stdcall LsaLookupNames2(ptr long long ptr ptr ptr) @ stdcall LsaLookupNames(long long ptr ptr ptr) + @ stdcall LsaLookupNames2(ptr long long ptr ptr ptr) -@ stub LsaLookupPrivilegeDisplayName +@ stdcall LsaLookupPrivilegeDisplayName(long ptr ptr ptr) @ stdcall LsaLookupPrivilegeName(long ptr ptr) # @ stub LsaLookupPrivilegeValue @ stdcall LsaLookupSids(ptr long ptr ptr ptr) diff --git a/dlls/advapi32/lsa.c b/dlls/advapi32/lsa.c -index 6a7a69a9eb7..fdb238f74b2 100644 +index ceb3b05c05..c2e02fb462 100644 --- a/dlls/advapi32/lsa.c +++ b/dlls/advapi32/lsa.c -@@ -45,6 +45,12 @@ WINE_DEFAULT_DEBUG_CHANNEL(advapi); +@@ -44,6 +44,12 @@ WINE_DEFAULT_DEBUG_CHANNEL(advapi); return FailureCode; \ } @@ -38,7 +38,7 @@ index 6a7a69a9eb7..fdb238f74b2 100644 static void dumpLsaAttributes(const LSA_OBJECT_ATTRIBUTES *oa) { if (oa) -@@ -1050,3 +1056,18 @@ NTSTATUS WINAPI LsaLookupPrivilegeName( +@@ -1011,3 +1017,18 @@ NTSTATUS WINAPI LsaLookupPrivilegeName( *name = priv_unicode; return STATUS_SUCCESS; } diff --git a/patches/api-ms-win-Stub_DLLs/0001-kernelbase-Add-dll-and-add-stub-for-QuirkIsEnabled.patch b/patches/api-ms-win-Stub_DLLs/0001-kernelbase-Add-dll-and-add-stub-for-QuirkIsEnabled.patch index b64ab4d5..8a2ca569 100644 --- a/patches/api-ms-win-Stub_DLLs/0001-kernelbase-Add-dll-and-add-stub-for-QuirkIsEnabled.patch +++ b/patches/api-ms-win-Stub_DLLs/0001-kernelbase-Add-dll-and-add-stub-for-QuirkIsEnabled.patch @@ -1,16 +1,16 @@ -From e02790b9f90a8f6f65e50543de94861850d90177 Mon Sep 17 00:00:00 2001 +From a3c2ca382ff462bd602e65fda389ada28268012b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20M=C3=BCller?= Date: Fri, 15 Jan 2016 13:01:15 +0100 Subject: kernelbase: Add dll and add stub for QuirkIsEnabled. --- - .../api-ms-win-core-quirks-l1-1-0.spec | 2 +- - dlls/kernelbase/Makefile.in | 3 + - dlls/kernelbase/kernelbase.spec | 1127 +++++++++++++++++++- - dlls/kernelbase/misc.c | 37 + - dlls/shlwapi/shlwapi.spec | 2 +- - tools/make_specfiles | 1 + - 6 files changed, 1154 insertions(+), 18 deletions(-) + .../api-ms-win-core-quirks-l1-1-0.spec | 2 +- + dlls/kernelbase/Makefile.in | 3 ++ + dlls/kernelbase/kernelbase.spec | 2 +- + dlls/kernelbase/misc.c | 37 ++++++++++++++++++++++ + dlls/shlwapi/shlwapi.spec | 2 +- + tools/make_specfiles | 1 + + 6 files changed, 44 insertions(+), 3 deletions(-) create mode 100644 dlls/kernelbase/misc.c diff --git a/dlls/api-ms-win-core-quirks-l1-1-0/api-ms-win-core-quirks-l1-1-0.spec b/dlls/api-ms-win-core-quirks-l1-1-0/api-ms-win-core-quirks-l1-1-0.spec @@ -35,1697 +35,18 @@ index b9caed090b..2beb34bafd 100644 +C_SRCS = \ + misc.c diff --git a/dlls/kernelbase/kernelbase.spec b/dlls/kernelbase/kernelbase.spec -index 23abff8395..5969927269 100644 +index da7c50a820..3772842ca4 100644 --- a/dlls/kernelbase/kernelbase.spec +++ b/dlls/kernelbase/kernelbase.spec -@@ -1,3 +1,6 @@ -+# On Windows 10 kernelbase contains the implementation and kernel32 is redirected -+# but this breaks some old applications which can't handle redirections. -+ - @ stdcall AccessCheck(ptr long long ptr ptr ptr ptr ptr) advapi32.AccessCheck - @ stdcall AccessCheckAndAuditAlarmW(wstr ptr wstr wstr ptr long ptr long ptr ptr ptr) advapi32.AccessCheckAndAuditAlarmW - @ stdcall AccessCheckByType(ptr ptr long long ptr long ptr ptr ptr ptr ptr) advapi32.AccessCheckByType -@@ -7,6 +10,8 @@ - @ stub AccessCheckByTypeResultListAndAuditAlarmW - @ stdcall AcquireSRWLockExclusive(ptr) kernel32.AcquireSRWLockExclusive - @ stdcall AcquireSRWLockShared(ptr) kernel32.AcquireSRWLockShared -+@ stub AcquireStateLock -+@ stdcall ActivateActCtx(ptr ptr) kernel32.ActivateActCtx - @ stdcall AddAccessAllowedAce(ptr long long ptr) advapi32.AddAccessAllowedAce - @ stdcall AddAccessAllowedAceEx(ptr long long long ptr) advapi32.AddAccessAllowedAceEx - @ stdcall AddAccessAllowedObjectAce(ptr long long long ptr ptr ptr) advapi32.AddAccessAllowedObjectAce -@@ -19,35 +24,108 @@ - @ stdcall AddAuditAccessObjectAce(ptr long long long ptr ptr ptr long long) advapi32.AddAuditAccessObjectAce - @ stub AddDllDirectory - @ stdcall AddMandatoryAce(ptr long long long ptr) advapi32.AddMandatoryAce -+@ stdcall AddRefActCtx(ptr) kernel32.AddRefActCtx -+@ stub AddResourceAttributeAce -+@ stub AddSIDToBoundaryDescriptor -+@ stub AddScopedPolicyIDAce -+@ stdcall AddVectoredContinueHandler(long ptr) kernel32.AddVectoredContinueHandler -+@ stdcall AddVectoredExceptionHandler(long ptr) kernel32.AddVectoredExceptionHandler - @ stdcall AdjustTokenGroups(long long ptr long ptr ptr) advapi32.AdjustTokenGroups - @ stdcall AdjustTokenPrivileges(long long ptr long ptr ptr) advapi32.AdjustTokenPrivileges -+@ stdcall AllocConsole() kernel32.AllocConsole - @ stdcall AllocateAndInitializeSid(ptr long long long long long long long long long ptr) advapi32.AllocateAndInitializeSid - @ stdcall AllocateLocallyUniqueId(ptr) advapi32.AllocateLocallyUniqueId -+@ stdcall AllocateUserPhysicalPages(long ptr ptr) kernel32.AllocateUserPhysicalPages -+@ stub AllocateUserPhysicalPagesNuma -+@ stub AppContainerDeriveSidFromMoniker -+@ stub AppContainerFreeMemory -+@ stub AppContainerLookupDisplayNameMrtReference -+@ stub AppContainerLookupMoniker -+@ stub AppContainerRegisterSid -+@ stub AppContainerUnregisterSid -+@ stub AppXFreeMemory -+@ stub AppXGetApplicationData -+@ stub AppXGetDevelopmentMode -+@ stub AppXGetOSMaxVersionTested -+@ stub AppXGetOSMinVersion -+@ stub AppXGetPackageCapabilities -+@ stub AppXGetPackageSid -+@ stub AppXLookupDisplayName -+@ stub AppXLookupMoniker -+@ stub AppXPostSuccessExtension -+@ stub AppXPreCreationExtension -+@ stub AppXReleaseAppXContext -+@ stub AppXUpdatePackageCapabilities -+@ stub ApplicationUserModelIdFromProductId - @ stdcall AreAllAccessesGranted(long long) advapi32.AreAllAccessesGranted - @ stdcall AreAnyAccessesGranted(long long) advapi32.AreAnyAccessesGranted - @ stdcall AreFileApisANSI() kernel32.AreFileApisANSI -+@ stub AreThereVisibleLogoffScriptsInternal -+@ stub AreThereVisibleShutdownScriptsInternal -+@ stdcall AttachConsole(long) kernel32.AttachConsole -+@ stub BaseCheckAppcompatCache -+@ stub BaseCheckAppcompatCacheEx -+@ stub BaseCleanupAppcompatCacheSupport - @ stub BaseDllFreeResourceId - @ stub BaseDllMapResourceIdW --@ stub BaseGetProcessDllPath --@ stub BaseGetProcessExePath --@ stub BaseInvalidateDllSearchPathCache --@ stub BaseInvalidateProcessSearchPathCache --@ stub BaseReleaseProcessDllPath --@ stub BaseReleaseProcessExePath -+@ stub BaseDumpAppcompatCache -+@ stdcall BaseFlushAppcompatCache() kernel32.BaseFlushAppcompatCache -+@ stub BaseFormatObjectAttributes -+@ stub BaseFreeAppCompatDataForProcess -+@ stub BaseGetNamedObjectDirectory -+@ stub BaseInitAppcompatCacheSupport -+@ stub BaseIsAppcompatInfrastructureDisabled -+@ stub BaseMarkFileForDelete -+@ stub BaseReadAppCompatDataForProcess -+@ stub BaseUpdateAppcompatCache -+@ stub BasepAdjustObjectAttributesForPrivateNamespace -+@ stub BasepCopyFileCallback -+@ stub BasepCopyFileExW -+@ stub BasepNotifyTrackingService - @ stdcall Beep(long long) kernel32.Beep --@ stub BemCopyReference --@ stub BemCreateContractFrom --@ stub BemCreateReference --@ stub BemFreeContract --@ stub BemFreeReference -+@ stub CLOSE_LOCAL_HANDLE_INTERNAL - @ stdcall CallbackMayRunLong(ptr) kernel32.CallbackMayRunLong -+@ stub CalloutOnFiberStack -+@ stdcall CancelIo(long) kernel32.CancelIo - @ stdcall CancelIoEx(long ptr) kernel32.CancelIoEx -+@ stdcall CancelSynchronousIo(long) kernel32.CancelSynchronousIo - @ stub CancelThreadpoolIo - @ stdcall CancelWaitableTimer(long) kernel32.CancelWaitableTimer -+@ stub CeipIsOptedIn - @ stdcall ChangeTimerQueueTimer(ptr ptr long long) kernel32.ChangeTimerQueueTimer -+@ stdcall CharLowerA(str) user32.CharLowerA -+@ stdcall CharLowerBuffA(str long) user32.CharLowerBuffA -+@ stdcall CharLowerBuffW(wstr long) user32.CharLowerBuffW -+@ stdcall CharLowerW(wstr) user32.CharLowerW -+@ stdcall CharNextA(str) user32.CharNextA -+@ stdcall CharNextExA(long str long) user32.CharNextExA -+@ stdcall CharNextW(wstr) user32.CharNextW -+@ stdcall CharPrevA(str str) user32.CharPrevA -+@ stdcall CharPrevExA(long str str long) user32.CharPrevExA -+@ stdcall CharPrevW(wstr wstr) user32.CharPrevW -+@ stdcall CharUpperA(str) user32.CharUpperA -+@ stdcall CharUpperBuffA(str long) user32.CharUpperBuffA -+@ stdcall CharUpperBuffW(wstr long) user32.CharUpperBuffW -+@ stdcall CharUpperW(wstr) user32.CharUpperW - @ stub CheckGroupPolicyEnabled -+@ stub CheckIfStateChangeNotificationExists -+@ stdcall CheckRemoteDebuggerPresent(long ptr) kernel32.CheckRemoteDebuggerPresent -+@ stub CheckTokenCapability - @ stdcall CheckTokenMembership(long ptr ptr) advapi32.CheckTokenMembership -+@ stub CheckTokenMembershipEx -+@ stdcall ChrCmpIA(long long) shlwapi.ChrCmpIA -+@ stdcall ChrCmpIW(long long) shlwapi.ChrCmpIW -+@ stdcall ClearCommBreak(long) kernel32.ClearCommBreak -+@ stdcall ClearCommError(long ptr ptr) kernel32.ClearCommError -+@ stub CloseGlobalizationUserSettingsKey - @ stdcall CloseHandle(long) kernel32.CloseHandle -+@ stub ClosePackageInfo -+@ stub ClosePrivateNamespace -+@ stub CloseState -+@ stub CloseStateAtom -+@ stub CloseStateChangeNotification -+@ stub CloseStateContainer -+@ stub CloseStateLock - @ stdcall CloseThreadpool(ptr) kernel32.CloseThreadpool - @ stdcall CloseThreadpoolCleanupGroup(ptr) kernel32.CloseThreadpoolCleanupGroup - @ stdcall CloseThreadpoolCleanupGroupMembers(ptr long ptr) kernel32.CloseThreadpoolCleanupGroupMembers -@@ -55,39 +133,75 @@ - @ stdcall CloseThreadpoolTimer(ptr) kernel32.CloseThreadpoolTimer - @ stdcall CloseThreadpoolWait(ptr) kernel32.CloseThreadpoolWait - @ stdcall CloseThreadpoolWork(ptr) kernel32.CloseThreadpoolWork -+@ stub CommitStateAtom - @ stdcall CompareFileTime(ptr ptr) kernel32.CompareFileTime -+@ stub CompareObjectHandles - @ stdcall CompareStringA(long long str long str long) kernel32.CompareStringA - @ stdcall CompareStringEx(wstr long wstr long wstr long ptr ptr long) kernel32.CompareStringEx - @ stdcall CompareStringOrdinal(wstr long wstr long long) kernel32.CompareStringOrdinal - @ stdcall CompareStringW(long long wstr long wstr long) kernel32.CompareStringW - @ stdcall ConnectNamedPipe(long ptr) kernel32.ConnectNamedPipe -+@ stdcall ContinueDebugEvent(long long long) kernel32.ContinueDebugEvent - @ stdcall ConvertDefaultLocale(long) kernel32.ConvertDefaultLocale -+@ stdcall ConvertFiberToThread() kernel32.ConvertFiberToThread -+@ stdcall ConvertThreadToFiber(ptr) kernel32.ConvertThreadToFiber -+@ stdcall ConvertThreadToFiberEx(ptr long) kernel32.ConvertThreadToFiberEx - @ stdcall ConvertToAutoInheritPrivateObjectSecurity(ptr ptr ptr ptr long ptr) advapi32.ConvertToAutoInheritPrivateObjectSecurity -+@ stub CopyContext -+@ stub CopyFile2 -+@ stdcall CopyFileExW(wstr wstr ptr ptr ptr long) kernel32.CopyFileExW -+@ stdcall CopyFileW(wstr wstr long) kernel32.CopyFileW - @ stdcall CopySid(long ptr ptr) advapi32.CopySid -+@ stdcall CreateActCtxW(ptr) kernel32.CreateActCtxW -+@ stub CreateAppContainerToken -+@ stub CreateBoundaryDescriptorW -+@ stdcall CreateConsoleScreenBuffer(long long ptr long ptr) kernel32.CreateConsoleScreenBuffer - @ stdcall CreateDirectoryA(str ptr) kernel32.CreateDirectoryA -+@ stdcall CreateDirectoryExW(wstr wstr ptr) kernel32.CreateDirectoryExW - @ stdcall CreateDirectoryW(wstr ptr) kernel32.CreateDirectoryW - @ stdcall CreateEventA(ptr long long str) kernel32.CreateEventA - @ stdcall CreateEventExA(ptr str long long) kernel32.CreateEventExA - @ stdcall CreateEventExW(ptr wstr long long) kernel32.CreateEventExW - @ stdcall CreateEventW(ptr long long wstr) kernel32.CreateEventW -+@ stdcall CreateFiber(long ptr ptr) kernel32.CreateFiber -+@ stdcall CreateFiberEx(long long long ptr ptr) kernel32.CreateFiberEx -+@ stdcall CreateFile2(wstr long long long ptr) kernel32.CreateFile2 - @ stdcall CreateFileA(str long long ptr long long long) kernel32.CreateFileA -+@ stub CreateFileMappingFromApp - @ stub CreateFileMappingNumaW - @ stdcall CreateFileMappingW(long ptr long long long wstr) kernel32.CreateFileMappingW - @ stdcall CreateFileW(wstr long long ptr long long long) kernel32.CreateFileW -+@ stdcall CreateHardLinkA(str str ptr) kernel32.CreateHardLinkA -+@ stdcall CreateHardLinkW(wstr wstr ptr) kernel32.CreateHardLinkW - @ stdcall CreateIoCompletionPort(long long long long) kernel32.CreateIoCompletionPort -+@ stdcall CreateMemoryResourceNotification(long) kernel32.CreateMemoryResourceNotification - @ stdcall CreateMutexA(ptr long str) kernel32.CreateMutexA - @ stdcall CreateMutexExA(ptr str long long) kernel32.CreateMutexExA - @ stdcall CreateMutexExW(ptr wstr long long) kernel32.CreateMutexExW - @ stdcall CreateMutexW(ptr long wstr) kernel32.CreateMutexW - @ stdcall CreateNamedPipeW(wstr long long long long long long ptr) kernel32.CreateNamedPipeW - @ stdcall CreatePipe(ptr ptr ptr long) kernel32.CreatePipe -+@ stub CreatePrivateNamespaceW - @ stdcall CreatePrivateObjectSecurity(ptr ptr ptr long long ptr) advapi32.CreatePrivateObjectSecurity - @ 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 -+@ stdcall CreateProcessA(str str ptr ptr long long ptr str ptr ptr) kernel32.CreateProcessA -+@ stdcall CreateProcessAsUserA(long str str ptr ptr long long ptr str ptr ptr) advapi32.CreateProcessAsUserA -+@ stdcall CreateProcessAsUserW(long wstr wstr ptr ptr long long ptr wstr ptr ptr) advapi32.CreateProcessAsUserW -+@ stub CreateProcessInternalA -+@ 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 - @ 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 CreateSemaphoreW(ptr long long wstr) kernel32.CreateSemaphoreW -+@ stub CreateStateAtom -+@ stub CreateStateChangeNotification -+@ stub CreateStateContainer -+@ stub CreateStateLock -+@ stub CreateStateSubcontainer -+@ stdcall CreateSymbolicLinkW(wstr wstr long) kernel32.CreateSymbolicLinkW - @ stdcall CreateThread(ptr long ptr long long ptr) kernel32.CreateThread - @ stdcall CreateThreadpool(ptr) kernel32.CreateThreadpool - @ stdcall CreateThreadpoolCleanupGroup() kernel32.CreateThreadpoolCleanupGroup -@@ -98,38 +212,86 @@ - @ stdcall CreateTimerQueue() kernel32.CreateTimerQueue - @ stdcall CreateTimerQueueTimer(ptr long ptr ptr long long long) kernel32.CreateTimerQueueTimer - @ stdcall CreateWaitableTimerExW(ptr wstr long long) kernel32.CreateWaitableTimerExW -+@ stdcall CreateWaitableTimerW(ptr long wstr) kernel32.CreateWaitableTimerW - @ stdcall CreateWellKnownSid(long ptr ptr ptr) advapi32.CreateWellKnownSid -+@ stub CtrlRoutine -+@ stdcall DeactivateActCtx(long long) kernel32.DeactivateActCtx -+@ stdcall DebugActiveProcess(long) kernel32.DebugActiveProcess -+@ stdcall DebugActiveProcessStop(long) kernel32.DebugActiveProcessStop - @ stdcall DebugBreak() kernel32.DebugBreak - @ stdcall DecodePointer(ptr) kernel32.DecodePointer -+@ stub DecodeRemotePointer - @ stdcall DecodeSystemPointer(ptr) kernel32.DecodeSystemPointer - @ stdcall DefineDosDeviceW(long wstr wstr) kernel32.DefineDosDeviceW -+@ stdcall DelayLoadFailureHook(str str) kernel32.DelayLoadFailureHook -+@ stub DelayLoadFailureHookLookup - @ stdcall DeleteAce(ptr long) advapi32.DeleteAce -+@ stub DeleteBoundaryDescriptor - @ stdcall DeleteCriticalSection(ptr) kernel32.DeleteCriticalSection -+@ stdcall DeleteFiber(ptr) kernel32.DeleteFiber - @ stdcall DeleteFileA(str) kernel32.DeleteFileA - @ stdcall DeleteFileW(wstr) kernel32.DeleteFileW - @ stdcall DeleteProcThreadAttributeList(ptr) kernel32.DeleteProcThreadAttributeList -+@ stub DeleteStateAtomValue -+@ stub DeleteStateContainer -+@ stub DeleteStateContainerValue -+@ stub DeleteSynchronizationBarrier - @ stdcall DeleteTimerQueueEx(long long) kernel32.DeleteTimerQueueEx - @ stdcall DeleteTimerQueueTimer(long long long) kernel32.DeleteTimerQueueTimer - @ stdcall DeleteVolumeMountPointW(wstr) kernel32.DeleteVolumeMountPointW - @ stdcall DestroyPrivateObjectSecurity(ptr) advapi32.DestroyPrivateObjectSecurity - @ stdcall DeviceIoControl(long long ptr long ptr long ptr ptr) kernel32.DeviceIoControl -+@ stub DisablePredefinedHandleTableInternal - @ stdcall DisableThreadLibraryCalls(long) kernel32.DisableThreadLibraryCalls - @ stdcall DisassociateCurrentThreadFromCallback(ptr) kernel32.DisassociateCurrentThreadFromCallback -+@ stub DiscardVirtualMemory - @ stdcall DisconnectNamedPipe(long) kernel32.DisconnectNamedPipe -+@ stub DnsHostnameToComputerNameExW -+@ stub DsBindWithSpnExW -+@ stub DsCrackNamesW -+@ stub DsFreeDomainControllerInfoW -+@ stub DsFreeNameResultW -+@ stub DsFreeNgcKey -+@ stub DsFreePasswordCredentials -+@ stub DsGetDomainControllerInfoW -+@ stub DsMakePasswordCredentialsW -+@ stub DsReadNgcKeyW -+@ stub DsUnBindW -+@ stub DsWriteNgcKeyW - @ stdcall DuplicateHandle(long long long ptr long long long) kernel32.DuplicateHandle -+@ stub DuplicateStateContainerHandle - @ stdcall DuplicateToken(long long ptr) advapi32.DuplicateToken - @ stdcall DuplicateTokenEx(long long ptr long long ptr) advapi32.DuplicateTokenEx -+@ stub EmptyWorkingSet - @ stdcall EncodePointer(ptr) kernel32.EncodePointer -+@ stub EncodeRemotePointer - @ stdcall EncodeSystemPointer(ptr) kernel32.EncodeSystemPointer -+@ stub EnterCriticalPolicySectionInternal - @ stdcall EnterCriticalSection(ptr) kernel32.EnterCriticalSection -+@ stub EnterSynchronizationBarrier - @ stdcall EnumCalendarInfoExEx(ptr wstr long wstr long long) kernel32.EnumCalendarInfoExEx - @ stdcall EnumCalendarInfoExW(ptr long long long) kernel32.EnumCalendarInfoExW - @ stdcall EnumCalendarInfoW(ptr long long long) kernel32.EnumCalendarInfoW - @ stdcall EnumDateFormatsExEx(ptr wstr long long) kernel32.EnumDateFormatsExEx - @ stdcall EnumDateFormatsExW(ptr long long) kernel32.EnumDateFormatsExW - @ stdcall EnumDateFormatsW(ptr long long) kernel32.EnumDateFormatsW -+@ stub EnumDeviceDrivers -+@ stub EnumDynamicTimeZoneInformation - @ stdcall EnumLanguageGroupLocalesW(ptr long long ptr) kernel32.EnumLanguageGroupLocalesW -+@ stub EnumPageFilesA -+@ stub EnumPageFilesW -+@ stub EnumProcessModules -+@ stub EnumProcessModulesEx -+@ stub EnumProcesses -+@ stdcall EnumResourceLanguagesExA(long str str ptr long long long) kernel32.EnumResourceLanguagesExA -+@ stdcall EnumResourceLanguagesExW(long wstr wstr ptr long long long) kernel32.EnumResourceLanguagesExW -+@ stub EnumResourceNamesExA -+@ stub EnumResourceNamesExW -+@ stub EnumResourceTypesExA -+@ stub EnumResourceTypesExW - @ stdcall EnumSystemCodePagesW(ptr long) kernel32.EnumSystemCodePagesW -+@ stub EnumSystemFirmwareTables -+@ stdcall EnumSystemGeoID(long long ptr) kernel32.EnumSystemGeoID - @ stdcall EnumSystemLanguageGroupsW(ptr long ptr) kernel32.EnumSystemLanguageGroupsW - @ stdcall EnumSystemLocalesA(ptr long) kernel32.EnumSystemLocalesA - @ stdcall EnumSystemLocalesEx(ptr long long ptr) kernel32.EnumSystemLocalesEx -@@ -137,9 +299,22 @@ - @ stdcall EnumTimeFormatsEx(ptr wstr long long) kernel32.EnumTimeFormatsEx - @ stdcall EnumTimeFormatsW(ptr long long) kernel32.EnumTimeFormatsW - @ stdcall EnumUILanguagesW(ptr long long) kernel32.EnumUILanguagesW -+@ stub EnumerateStateAtomValues -+@ stub EnumerateStateContainerItems - @ stub EqualDomainSid - @ stdcall EqualPrefixSid(ptr ptr) advapi32.EqualPrefixSid - @ stdcall EqualSid(ptr ptr) advapi32.EqualSid -+@ stdcall EscapeCommFunction(long long) kernel32.EscapeCommFunction -+@ stdcall EventActivityIdControl(long ptr) advapi32.EventActivityIdControl -+@ stdcall EventEnabled(int64 ptr) advapi32.EventEnabled -+@ stdcall EventProviderEnabled(int64 long int64) advapi32.EventProviderEnabled -+@ stdcall EventRegister(ptr ptr ptr ptr) advapi32.EventRegister -+@ stdcall EventSetInformation(int64 long ptr long) advapi32.EventSetInformation -+@ stdcall EventUnregister(int64) advapi32.EventUnregister -+@ stdcall EventWrite(int64 ptr long ptr) advapi32.EventWrite -+@ stub EventWriteEx -+@ stub EventWriteString -+@ stdcall EventWriteTransfer(int64 ptr ptr ptr long ptr) advapi32.EventWriteTransfer - @ stdcall ExitProcess(long) kernel32.ExitProcess - @ stdcall ExitThread(long) kernel32.ExitThread - @ stdcall ExpandEnvironmentStringsA(str ptr long) kernel32.ExpandEnvironmentStringsA -@@ -148,6 +323,11 @@ - @ stdcall FatalAppExitW(long wstr) kernel32.FatalAppExitW - @ stdcall FileTimeToLocalFileTime(ptr ptr) kernel32.FileTimeToLocalFileTime - @ stdcall FileTimeToSystemTime(ptr ptr) kernel32.FileTimeToSystemTime -+@ stdcall FillConsoleOutputAttribute(long long long long ptr) kernel32.FillConsoleOutputAttribute -+@ stdcall FillConsoleOutputCharacterA(long long long long ptr) kernel32.FillConsoleOutputCharacterA -+@ stdcall FillConsoleOutputCharacterW(long long long long ptr) kernel32.FillConsoleOutputCharacterW -+@ stdcall FindActCtxSectionGuid(long ptr long ptr ptr) kernel32.FindActCtxSectionGuid -+@ stdcall FindActCtxSectionStringW(long ptr long wstr ptr) kernel32.FindActCtxSectionStringW - @ stdcall FindClose(long) kernel32.FindClose - @ stdcall FindCloseChangeNotification(long) kernel32.FindCloseChangeNotification - @ stdcall FindFirstChangeNotificationA(str long long) kernel32.FindFirstChangeNotificationA -@@ -155,64 +335,141 @@ - @ stdcall FindFirstFileA(str ptr) kernel32.FindFirstFileA - @ stdcall FindFirstFileExA(str long ptr long ptr long) kernel32.FindFirstFileExA - @ stdcall FindFirstFileExW(wstr long ptr long ptr long) kernel32.FindFirstFileExW -+@ stub FindFirstFileNameW - @ stdcall FindFirstFileW(wstr ptr) kernel32.FindFirstFileW - @ stdcall FindFirstFreeAce(ptr ptr) advapi32.FindFirstFreeAce -+@ stub FindFirstStreamW - @ stdcall FindFirstVolumeW(ptr long) kernel32.FindFirstVolumeW - @ stub FindNLSString - @ stub FindNLSStringEx - @ stdcall FindNextChangeNotification(long) kernel32.FindNextChangeNotification - @ stdcall FindNextFileA(long ptr) kernel32.FindNextFileA -+@ stub FindNextFileNameW - @ stdcall FindNextFileW(long ptr) kernel32.FindNextFileW -+@ stub FindNextStreamW - @ stdcall FindNextVolumeW(long ptr long) kernel32.FindNextVolumeW -+@ stub FindPackagesByPackageFamily - @ stdcall FindResourceExW(long wstr wstr long) kernel32.FindResourceExW -+@ stdcall FindResourceW(long wstr wstr) kernel32.FindResourceW - @ stub FindStringOrdinal - @ stdcall FindVolumeClose(ptr) kernel32.FindVolumeClose - @ stdcall FlsAlloc(ptr) kernel32.FlsAlloc - @ stdcall FlsFree(long) kernel32.FlsFree - @ stdcall FlsGetValue(long) kernel32.FlsGetValue - @ stdcall FlsSetValue(long ptr) kernel32.FlsSetValue -+@ stdcall FlushConsoleInputBuffer(long) kernel32.FlushConsoleInputBuffer - @ stdcall FlushFileBuffers(long) kernel32.FlushFileBuffers -+@ stdcall FlushInstructionCache(long long long) kernel32.FlushInstructionCache - @ stdcall FlushProcessWriteBuffers() kernel32.FlushProcessWriteBuffers - @ stdcall FlushViewOfFile(ptr long) kernel32.FlushViewOfFile - @ stdcall FoldStringW(long wstr long ptr long) kernel32.FoldStringW -+@ stub ForceSyncFgPolicyInternal -+@ stub FormatApplicationUserModelId - @ stdcall FormatMessageA(long ptr long long ptr long ptr) kernel32.FormatMessageA - @ stdcall FormatMessageW(long ptr long long ptr long ptr) kernel32.FormatMessageW -+@ stdcall FreeConsole() kernel32.FreeConsole - @ stdcall FreeEnvironmentStringsA(ptr) kernel32.FreeEnvironmentStringsA - @ stdcall FreeEnvironmentStringsW(ptr) kernel32.FreeEnvironmentStringsW -+@ stub FreeGPOListInternalA -+@ stub FreeGPOListInternalW - @ stdcall FreeLibrary(long) kernel32.FreeLibrary - @ stdcall FreeLibraryAndExitThread(long long) kernel32.FreeLibraryAndExitThread - @ stdcall FreeLibraryWhenCallbackReturns(ptr ptr) kernel32.FreeLibraryWhenCallbackReturns - @ stdcall FreeResource(long) kernel32.FreeResource - @ stdcall FreeSid(ptr) advapi32.FreeSid -+@ stdcall FreeUserPhysicalPages(long ptr ptr) kernel32.FreeUserPhysicalPages -+@ stdcall GenerateConsoleCtrlEvent(long long) kernel32.GenerateConsoleCtrlEvent -+@ stub GenerateGPNotificationInternal - @ stdcall GetACP() kernel32.GetACP -+@ stdcall GetAcceptLanguagesA(ptr ptr) shlwapi.GetAcceptLanguagesA -+@ stdcall GetAcceptLanguagesW(ptr ptr) shlwapi.GetAcceptLanguagesW - @ stdcall GetAce(ptr long ptr) advapi32.GetAce - @ stdcall GetAclInformation(ptr ptr long long) advapi32.GetAclInformation -+@ stub GetAdjustObjectAttributesForPrivateNamespaceRoutine -+@ stub GetAlternatePackageRoots -+@ stub GetAppContainerAce -+@ stub GetAppContainerNamedObjectPath -+@ stub GetAppDataFolder -+@ stub GetAppModelVersion -+@ stub GetApplicationRecoveryCallback -+@ stub GetApplicationRestartSettings -+@ stub GetApplicationUserModelId -+@ stub GetApplicationUserModelIdFromToken -+@ stub GetAppliedGPOListInternalA -+@ stub GetAppliedGPOListInternalW - @ stub GetCPFileNameFromRegistry - @ stub GetCPHashNode - @ stdcall GetCPInfo(long ptr) kernel32.GetCPInfo - @ stdcall GetCPInfoExW(long long ptr) kernel32.GetCPInfoExW -+@ stub GetCachedSigningLevel - @ stub GetCalendar - @ stdcall GetCalendarInfoEx(wstr long ptr long ptr long ptr) kernel32.GetCalendarInfoEx - @ stdcall GetCalendarInfoW(long long long ptr long ptr) kernel32.GetCalendarInfoW -+@ stdcall GetCommConfig(long ptr ptr) kernel32.GetCommConfig -+@ stdcall GetCommMask(long ptr) kernel32.GetCommMask -+@ stdcall GetCommModemStatus(long ptr) kernel32.GetCommModemStatus -+@ stdcall GetCommProperties(long ptr) kernel32.GetCommProperties -+@ stdcall GetCommState(long ptr) kernel32.GetCommState -+@ stdcall GetCommTimeouts(long ptr) kernel32.GetCommTimeouts - @ stdcall GetCommandLineA() kernel32.GetCommandLineA - @ stdcall GetCommandLineW() kernel32.GetCommandLineW -+@ stdcall GetCompressedFileSizeA(long ptr) kernel32.GetCompressedFileSizeA -+@ stdcall GetCompressedFileSizeW(long ptr) kernel32.GetCompressedFileSizeW - @ stdcall GetComputerNameExA(long ptr ptr) kernel32.GetComputerNameExA - @ stdcall GetComputerNameExW(long ptr ptr) kernel32.GetComputerNameExW -+@ stdcall GetConsoleCP() kernel32.GetConsoleCP -+@ stdcall GetConsoleCursorInfo(long ptr) kernel32.GetConsoleCursorInfo -+@ stdcall GetConsoleInputExeNameA(long ptr) kernel32.GetConsoleInputExeNameA -+@ stdcall GetConsoleInputExeNameW(long ptr) kernel32.GetConsoleInputExeNameW -+@ stdcall GetConsoleMode(long ptr) kernel32.GetConsoleMode -+@ stdcall GetConsoleOutputCP() kernel32.GetConsoleOutputCP -+@ stdcall GetConsoleScreenBufferInfo(long ptr) kernel32.GetConsoleScreenBufferInfo -+@ stdcall GetConsoleScreenBufferInfoEx(long ptr) kernel32.GetConsoleScreenBufferInfoEx -+@ stdcall GetConsoleTitleW(ptr long) kernel32.GetConsoleTitleW - @ stub GetCurrencyFormatEx - @ stdcall GetCurrencyFormatW(long long str ptr str long) kernel32.GetCurrencyFormatW -+@ stdcall GetCurrentActCtx(ptr) kernel32.GetCurrentActCtx -+@ stub GetCurrentApplicationUserModelId - @ stdcall GetCurrentDirectoryA(long ptr) kernel32.GetCurrentDirectoryA - @ stdcall GetCurrentDirectoryW(long ptr) kernel32.GetCurrentDirectoryW -+@ stub GetCurrentPackageApplicationContext -+@ stub GetCurrentPackageApplicationResourcesContext -+@ stub GetCurrentPackageContext -+@ stdcall GetCurrentPackageFamilyName(ptr ptr) kernel32.GetCurrentPackageFamilyName -+@ stdcall GetCurrentPackageFullName(ptr ptr) kernel32.GetCurrentPackageFullName -+@ stdcall GetCurrentPackageId(ptr ptr) kernel32.GetCurrentPackageId -+@ stub GetCurrentPackageInfo -+@ stub GetCurrentPackagePath -+@ stub GetCurrentPackageResourcesContext -+@ stub GetCurrentPackageSecurityContext - @ stdcall -norelay GetCurrentProcess() kernel32.GetCurrentProcess - @ stdcall -norelay GetCurrentProcessId() kernel32.GetCurrentProcessId -+@ stdcall GetCurrentProcessorNumber() kernel32.GetCurrentProcessorNumber -+@ stdcall GetCurrentProcessorNumberEx(ptr) kernel32.GetCurrentProcessorNumberEx -+@ stub GetCurrentTargetPlatformContext - @ stdcall -norelay GetCurrentThread() kernel32.GetCurrentThread - @ stdcall -norelay GetCurrentThreadId() kernel32.GetCurrentThreadId -+@ stub GetCurrentThreadStackLimits -+@ stdcall GetDateFormatA(long long ptr str ptr long) kernel32.GetDateFormatA -+@ stdcall GetDateFormatEx(wstr long ptr wstr ptr long wstr) kernel32.GetDateFormatEx -+@ stdcall GetDateFormatW(long long ptr wstr ptr long) kernel32.GetDateFormatW -+@ stub GetDeviceDriverBaseNameA -+@ stub GetDeviceDriverBaseNameW -+@ stub GetDeviceDriverFileNameA -+@ stub GetDeviceDriverFileNameW - @ stdcall GetDiskFreeSpaceA(str ptr ptr ptr ptr) kernel32.GetDiskFreeSpaceA - @ stdcall GetDiskFreeSpaceExA(str ptr ptr ptr) kernel32.GetDiskFreeSpaceExA - @ stdcall GetDiskFreeSpaceExW(wstr ptr ptr ptr) kernel32.GetDiskFreeSpaceExW - @ stdcall GetDiskFreeSpaceW(wstr ptr ptr ptr ptr) kernel32.GetDiskFreeSpaceW - @ stdcall GetDriveTypeA(str) kernel32.GetDriveTypeA - @ stdcall GetDriveTypeW(wstr) kernel32.GetDriveTypeW -+@ stub GetDurationFormatEx - @ stdcall GetDynamicTimeZoneInformation(ptr) kernel32.GetDynamicTimeZoneInformation -+@ stub GetDynamicTimeZoneInformationEffectiveYears -+@ stub GetEffectivePackageStatusForUser -+@ stub GetEightBitStringToUnicodeSizeRoutine -+@ stub GetEightBitStringToUnicodeStringRoutine -+@ stub GetEnabledXStateFeatures - @ stdcall GetEnvironmentStrings() kernel32.GetEnvironmentStrings - @ stdcall GetEnvironmentStringsA() kernel32.GetEnvironmentStringsA - @ stdcall GetEnvironmentStringsW() kernel32.GetEnvironmentStringsW -@@ -228,6 +485,7 @@ - @ stdcall GetFileAttributesExW(wstr long ptr) kernel32.GetFileAttributesExW - @ stdcall GetFileAttributesW(wstr) kernel32.GetFileAttributesW - @ stdcall GetFileInformationByHandle(long ptr) kernel32.GetFileInformationByHandle -+@ stdcall GetFileInformationByHandleEx(long long ptr long) kernel32.GetFileInformationByHandleEx - @ stdcall GetFileMUIInfo(long wstr ptr ptr) kernel32.GetFileMUIInfo - @ stdcall GetFileMUIPath(long wstr wstr ptr ptr ptr ptr) kernel32.GetFileMUIPath - @ stdcall GetFileSecurityW(wstr long ptr long ptr) advapi32.GetFileSecurityW -@@ -235,12 +493,28 @@ - @ stdcall GetFileSizeEx(long ptr) kernel32.GetFileSizeEx - @ stdcall GetFileTime(long ptr ptr ptr) kernel32.GetFileTime - @ stdcall GetFileType(long) kernel32.GetFileType -+@ stub GetFileVersionInfoA -+@ stub GetFileVersionInfoByHandle -+@ stub GetFileVersionInfoExA -+@ stub GetFileVersionInfoExW -+@ stub GetFileVersionInfoSizeA -+@ stub GetFileVersionInfoSizeExA -+@ stub GetFileVersionInfoSizeExW -+@ stub GetFileVersionInfoSizeW -+@ stub GetFileVersionInfoW - @ stdcall GetFinalPathNameByHandleA(long ptr long long) kernel32.GetFinalPathNameByHandleA - @ stdcall GetFinalPathNameByHandleW(long ptr long long) kernel32.GetFinalPathNameByHandleW - @ stdcall GetFullPathNameA(str long ptr ptr) kernel32.GetFullPathNameA - @ stdcall GetFullPathNameW(wstr long ptr ptr) kernel32.GetFullPathNameW -+@ stub GetGPOListInternalA -+@ stub GetGPOListInternalW -+@ stdcall GetGeoInfoW(long long ptr long long) kernel32.GetGeoInfoW - @ stdcall GetHandleInformation(long ptr) kernel32.GetHandleInformation -+@ stub GetHivePath -+@ stub GetIntegratedDisplaySize - @ stdcall GetKernelObjectSecurity(long long ptr long ptr) advapi32.GetKernelObjectSecurity -+@ stdcall GetLargePageMinimum() kernel32.GetLargePageMinimum -+@ stdcall GetLargestConsoleWindowSize(long) kernel32.GetLargestConsoleWindowSize - @ stdcall GetLastError() kernel32.GetLastError - @ stdcall GetLengthSid(ptr) advapi32.GetLengthSid - @ stdcall GetLocalTime(ptr) kernel32.GetLocalTime -@@ -254,35 +528,102 @@ - @ stdcall GetLogicalProcessorInformationEx(long ptr ptr) kernel32.GetLogicalProcessorInformationEx - @ stdcall GetLongPathNameA(str long long) kernel32.GetLongPathNameA - @ stdcall GetLongPathNameW(wstr long long) kernel32.GetLongPathNameW -+@ stub GetMappedFileNameA -+@ stub GetMappedFileNameW -+@ stub GetMemoryErrorHandlingCapabilities -+@ stub GetModuleBaseNameA -+@ stub GetModuleBaseNameW - @ stdcall GetModuleFileNameA(long ptr long) kernel32.GetModuleFileNameA -+@ stub GetModuleFileNameExA -+@ stub GetModuleFileNameExW - @ stdcall GetModuleFileNameW(long ptr long) kernel32.GetModuleFileNameW - @ stdcall GetModuleHandleA(str) kernel32.GetModuleHandleA - @ stdcall GetModuleHandleExA(long ptr ptr) kernel32.GetModuleHandleExA - @ stdcall GetModuleHandleExW(long ptr ptr) kernel32.GetModuleHandleExW - @ stdcall GetModuleHandleW(wstr) kernel32.GetModuleHandleW -+@ stub GetModuleInformation - @ stub GetNLSVersion - @ stub GetNLSVersionEx - @ stub GetNamedLocaleHashNode - @ stub GetNamedPipeAttribute - @ stub GetNamedPipeClientComputerNameW -+@ stdcall GetNamedPipeHandleStateW(long ptr ptr ptr ptr wstr long) kernel32.GetNamedPipeHandleStateW -+@ stdcall GetNamedPipeInfo(long ptr ptr ptr ptr) kernel32.GetNamedPipeInfo -+@ stdcall GetNativeSystemInfo(ptr) kernel32.GetNativeSystemInfo -+@ stub GetNextFgPolicyRefreshInfoInternal -+@ stdcall GetNumaHighestNodeNumber(ptr) kernel32.GetNumaHighestNodeNumber -+@ stub GetNumaNodeProcessorMaskEx - @ stdcall GetNumberFormatEx(wstr long wstr ptr ptr long) kernel32.GetNumberFormatEx - @ stdcall GetNumberFormatW(long long wstr ptr ptr long) kernel32.GetNumberFormatW -+@ stdcall GetNumberOfConsoleInputEvents(long ptr) kernel32.GetNumberOfConsoleInputEvents - @ stdcall GetOEMCP() kernel32.GetOEMCP -+@ stub GetOsManufacturingMode -+@ stub GetOsSafeBootMode - @ stdcall GetOverlappedResult(long ptr ptr long) kernel32.GetOverlappedResult -+@ stub GetOverlappedResultEx -+@ stub GetPackageApplicationContext -+@ stub GetPackageApplicationIds -+@ stub GetPackageApplicationProperty -+@ stub GetPackageApplicationPropertyString -+@ stub GetPackageApplicationResourcesContext -+@ stub GetPackageContext -+@ stub GetPackageFamilyName -+@ stub GetPackageFamilyNameFromToken -+@ stub GetPackageFullName -+@ stub GetPackageFullNameFromToken -+@ stub GetPackageId -+@ stub GetPackageInfo -+@ stub GetPackageInstallTime -+@ stub GetPackageOSMaxVersionTested -+@ stub GetPackagePath -+@ stub GetPackagePathByFullName -+@ stub GetPackagePathOnVolume -+@ stub GetPackageProperty -+@ stub GetPackagePropertyString -+@ stub GetPackageResourcesContext -+@ stub GetPackageResourcesProperty -+@ stub GetPackageSecurityContext -+@ stub GetPackageSecurityProperty -+@ stub GetPackageStatus -+@ stub GetPackageStatusForUser -+@ stub GetPackageTargetPlatformProperty -+@ stub GetPackageVolumeSisPath -+@ stub GetPackagesByPackageFamily -+@ stub GetPerformanceInfo -+@ stdcall GetPhysicallyInstalledSystemMemory(ptr) kernel32.GetPhysicallyInstalledSystemMemory -+@ stub GetPreviousFgPolicyRefreshInfoInternal - @ stdcall GetPriorityClass(long) kernel32.GetPriorityClass - @ stdcall GetPrivateObjectSecurity(ptr long ptr long ptr) advapi32.GetPrivateObjectSecurity - @ stdcall GetProcAddress(long str) kernel32.GetProcAddress -+@ stub GetProcAddressForCaller -+@ stub GetProcessDefaultCpuSets -+@ stub GetProcessGroupAffinity -+@ stdcall GetProcessHandleCount(long ptr) kernel32.GetProcessHandleCount - @ stdcall -norelay GetProcessHeap() kernel32.GetProcessHeap - @ stdcall GetProcessHeaps(long ptr) kernel32.GetProcessHeaps - @ stdcall GetProcessId(long) kernel32.GetProcessId - @ stdcall GetProcessIdOfThread(long) kernel32.GetProcessIdOfThread -+@ stub GetProcessImageFileNameA -+@ stub GetProcessImageFileNameW -+@ stub GetProcessInformation -+@ stub GetProcessMemoryInfo -+@ stub GetProcessMitigationPolicy - @ stub GetProcessPreferredUILanguages -+@ stdcall GetProcessPriorityBoost(long ptr) kernel32.GetProcessPriorityBoost -+@ stdcall GetProcessShutdownParameters(ptr ptr) kernel32.GetProcessShutdownParameters - @ stdcall GetProcessTimes(long ptr ptr ptr ptr) kernel32.GetProcessTimes - @ stdcall GetProcessVersion(long) kernel32.GetProcessVersion -+@ stub GetProcessWorkingSetSizeEx -+@ stub GetProcessorSystemCycleTime -+@ stdcall GetProductInfo(long long long long ptr) kernel32.GetProductInfo - @ stub GetPtrCalData - @ stub GetPtrCalDataArray -+@ stub GetPublisherCacheFolder -+@ stub GetPublisherRootFolder - @ stdcall GetQueuedCompletionStatus(long ptr ptr ptr long) kernel32.GetQueuedCompletionStatus - @ stub GetQueuedCompletionStatusEx -+@ stub GetRegistryExtensionFlags -+@ stub GetRoamingLastObservedChangeTime - @ stdcall GetSecurityDescriptorControl(ptr ptr ptr) advapi32.GetSecurityDescriptorControl - @ stdcall GetSecurityDescriptorDacl(ptr ptr ptr ptr) advapi32.GetSecurityDescriptorDacl - @ stdcall GetSecurityDescriptorGroup(ptr ptr ptr) advapi32.GetSecurityDescriptorGroup -@@ -290,62 +631,118 @@ - @ stdcall GetSecurityDescriptorOwner(ptr ptr ptr) advapi32.GetSecurityDescriptorOwner - @ stub GetSecurityDescriptorRMControl - @ stdcall GetSecurityDescriptorSacl(ptr ptr ptr ptr) advapi32.GetSecurityDescriptorSacl -+@ stub GetSerializedAtomBytes -+@ stub GetSharedLocalFolder - @ stdcall GetShortPathNameW(wstr ptr long) kernel32.GetShortPathNameW - @ stdcall GetSidIdentifierAuthority(ptr) advapi32.GetSidIdentifierAuthority - @ stdcall GetSidLengthRequired(long) advapi32.GetSidLengthRequired - @ stdcall GetSidSubAuthority(ptr long) advapi32.GetSidSubAuthority - @ stdcall GetSidSubAuthorityCount(ptr) advapi32.GetSidSubAuthorityCount -+@ stub GetStagedPackageOrigin -+@ stub GetStagedPackagePathByFullName - @ stdcall GetStartupInfoW(ptr) kernel32.GetStartupInfoW -+@ stub GetStateContainerDepth -+@ stub GetStateFolder -+@ stub GetStateRootFolder -+@ stub GetStateRootFolderBase -+@ stub GetStateSettingsFolder -+@ stub GetStateVersion - @ stdcall GetStdHandle(long) kernel32.GetStdHandle -+@ stub GetStringScripts - @ stub GetStringTableEntry - @ stdcall GetStringTypeA(long long str long ptr) kernel32.GetStringTypeA - @ stdcall GetStringTypeExW(long long wstr long ptr) kernel32.GetStringTypeExW - @ stdcall GetStringTypeW(long wstr long ptr) kernel32.GetStringTypeW -+@ stub GetSystemAppDataFolder -+@ stub GetSystemAppDataKey -+@ stub GetSystemCpuSetInformation - @ stdcall GetSystemDefaultLCID() kernel32.GetSystemDefaultLCID - @ stdcall GetSystemDefaultLangID() kernel32.GetSystemDefaultLangID - @ stdcall GetSystemDefaultLocaleName(ptr long) kernel32.GetSystemDefaultLocaleName - @ stdcall GetSystemDefaultUILanguage() kernel32.GetSystemDefaultUILanguage - @ stdcall GetSystemDirectoryA(ptr long) kernel32.GetSystemDirectoryA - @ stdcall GetSystemDirectoryW(ptr long) kernel32.GetSystemDirectoryW -+@ stdcall GetSystemFileCacheSize(ptr ptr ptr) kernel32.GetSystemFileCacheSize -+@ stdcall GetSystemFirmwareTable(long long ptr long) kernel32.GetSystemFirmwareTable - @ stdcall GetSystemInfo(ptr) kernel32.GetSystemInfo -+@ stub GetSystemMetadataPath -+@ stub GetSystemMetadataPathForPackage -+@ stub GetSystemMetadataPathForPackageFamily - @ stdcall GetSystemPreferredUILanguages(long ptr ptr ptr) kernel32.GetSystemPreferredUILanguages -+@ stub GetSystemStateRootFolder - @ stdcall GetSystemTime(ptr) kernel32.GetSystemTime - @ stdcall GetSystemTimeAdjustment(ptr ptr ptr) kernel32.GetSystemTimeAdjustment - @ stdcall GetSystemTimeAsFileTime(ptr) kernel32.GetSystemTimeAsFileTime -+@ stdcall GetSystemTimePreciseAsFileTime(ptr) kernel32.GetSystemTimePreciseAsFileTime -+@ stdcall GetSystemTimes(ptr ptr ptr) kernel32.GetSystemTimes - @ stdcall GetSystemWindowsDirectoryA(ptr long) kernel32.GetSystemWindowsDirectoryA - @ stdcall GetSystemWindowsDirectoryW(ptr long) kernel32.GetSystemWindowsDirectoryW -+@ stdcall GetSystemWow64DirectoryA(ptr long) kernel32.GetSystemWow64DirectoryA -+@ stdcall GetSystemWow64DirectoryW(ptr long) kernel32.GetSystemWow64DirectoryW -+@ stub GetTargetPlatformContext -+@ stdcall GetTempFileNameA(str str long ptr) kernel32.GetTempFileNameA - @ stdcall GetTempFileNameW(wstr wstr long ptr) kernel32.GetTempFileNameW -+@ stdcall GetTempPathA(long ptr) kernel32.GetTempPathA -+@ stdcall GetTempPathW(long ptr) kernel32.GetTempPathW -+@ stdcall GetThreadContext(long ptr) kernel32.GetThreadContext -+@ stdcall GetThreadErrorMode() kernel32.GetThreadErrorMode -+@ stdcall GetThreadGroupAffinity(long ptr) kernel32.GetThreadGroupAffinity -+@ stdcall GetThreadIOPendingFlag(long ptr) kernel32.GetThreadIOPendingFlag - @ stdcall GetThreadId(ptr) kernel32.GetThreadId -+@ stub GetThreadIdealProcessorEx -+@ stub GetThreadInformation - @ stdcall GetThreadLocale() kernel32.GetThreadLocale - @ stdcall GetThreadPreferredUILanguages(long ptr ptr ptr) kernel32.GetThreadPreferredUILanguages - @ stdcall GetThreadPriority(long) kernel32.GetThreadPriority - @ stdcall GetThreadPriorityBoost(long ptr) kernel32.GetThreadPriorityBoost -+@ stub GetThreadSelectedCpuSets -+@ stdcall GetThreadTimes(long ptr ptr ptr ptr) kernel32.GetThreadTimes - @ stdcall GetThreadUILanguage() kernel32.GetThreadUILanguage - @ stdcall GetTickCount() kernel32.GetTickCount - @ stdcall -ret64 GetTickCount64() kernel32.GetTickCount64 -+@ stdcall GetTimeFormatA(long long ptr str ptr long) kernel32.GetTimeFormatA -+@ stdcall GetTimeFormatEx(wstr long ptr wstr ptr long) kernel32.GetTimeFormatEx -+@ stdcall GetTimeFormatW(long long ptr wstr ptr long) kernel32.GetTimeFormatW - @ stdcall GetTimeZoneInformation(ptr) kernel32.GetTimeZoneInformation - @ stdcall GetTimeZoneInformationForYear(long ptr ptr) kernel32.GetTimeZoneInformationForYear - @ stdcall GetTokenInformation(long long ptr long ptr) advapi32.GetTokenInformation -+@ stdcall GetTraceEnableFlags(int64) advapi32.GetTraceEnableFlags -+@ stdcall GetTraceEnableLevel(int64) advapi32.GetTraceEnableLevel -+@ stdcall -ret64 GetTraceLoggerHandle(ptr) advapi32.GetTraceLoggerHandle - @ stub GetUILanguageInfo -+@ stub GetUnicodeStringToEightBitSizeRoutine -+@ stub GetUnicodeStringToEightBitStringRoutine - @ stdcall GetUserDefaultLCID() kernel32.GetUserDefaultLCID - @ stdcall GetUserDefaultLangID() kernel32.GetUserDefaultLangID - @ stdcall GetUserDefaultLocaleName(ptr long) kernel32.GetUserDefaultLocaleName - @ stdcall GetUserDefaultUILanguage() kernel32.GetUserDefaultUILanguage -+@ stdcall GetUserGeoID(long) kernel32.GetUserGeoID - @ stub GetUserInfo - @ stub GetUserInfoWord -+@ stub GetUserOverrideString -+@ stub GetUserOverrideWord - @ stdcall GetUserPreferredUILanguages(long ptr ptr ptr) kernel32.GetUserPreferredUILanguages - @ stdcall GetVersion() kernel32.GetVersion - @ stdcall GetVersionExA(ptr) kernel32.GetVersionExA - @ stdcall GetVersionExW(ptr) kernel32.GetVersionExW -+@ stdcall GetVolumeInformationA(str ptr long ptr ptr ptr ptr long) kernel32.GetVolumeInformationA - @ stdcall GetVolumeInformationByHandleW(ptr ptr long ptr ptr ptr ptr long) kernel32.GetVolumeInformationByHandleW - @ stdcall GetVolumeInformationW(wstr ptr long ptr ptr ptr ptr long) kernel32.GetVolumeInformationW -+@ stdcall GetVolumeNameForVolumeMountPointW(wstr ptr long) kernel32.GetVolumeNameForVolumeMountPointW - @ stdcall GetVolumePathNameW(wstr ptr long) kernel32.GetVolumePathNameW -+@ stdcall GetVolumePathNamesForVolumeNameW(wstr ptr long ptr) kernel32.GetVolumePathNamesForVolumeNameW - @ stdcall GetWindowsAccountDomainSid(ptr ptr ptr) advapi32.GetWindowsAccountDomainSid - @ stdcall GetWindowsDirectoryA(ptr long) kernel32.GetWindowsDirectoryA - @ stdcall GetWindowsDirectoryW(ptr long) kernel32.GetWindowsDirectoryW -+@ stdcall GetWriteWatch(long ptr long ptr ptr ptr) kernel32.GetWriteWatch -+@ stub GetWsChanges -+@ stub GetWsChangesEx -+@ stub GetXStateFeaturesMask - @ stdcall GlobalAlloc(long long) kernel32.GlobalAlloc - @ stdcall GlobalFree(long) kernel32.GlobalFree - @ stdcall GlobalMemoryStatusEx(ptr) kernel32.GlobalMemoryStatusEx -+@ stub HasPolicyForegroundProcessingCompletedInternal -+@ stdcall HashData(ptr long ptr long) shlwapi.HashData - @ stdcall HeapAlloc(long long long) kernel32.HeapAlloc - @ stdcall HeapCompact(long long) kernel32.HeapCompact - @ stdcall HeapCreate(long long long) kernel32.HeapCreate -@@ -360,23 +757,43 @@ - @ stdcall HeapUnlock(long) kernel32.HeapUnlock - @ stdcall HeapValidate(long long ptr) kernel32.HeapValidate - @ stdcall HeapWalk(long ptr) kernel32.HeapWalk -+@ stdcall IdnToAscii(long wstr long ptr long) kernel32.IdnToAscii -+@ stdcall IdnToNameprepUnicode(long wstr long ptr long) kernel32.IdnToNameprepUnicode -+@ stdcall IdnToUnicode(long wstr long ptr long) kernel32.IdnToUnicode - @ stdcall ImpersonateAnonymousToken(long) advapi32.ImpersonateAnonymousToken - @ stdcall ImpersonateLoggedOnUser(long) advapi32.ImpersonateLoggedOnUser - @ stdcall ImpersonateNamedPipeClient(long) advapi32.ImpersonateNamedPipeClient - @ stdcall ImpersonateSelf(long) advapi32.ImpersonateSelf -+@ stub IncrementPackageStatusVersion -+@ stdcall InitOnceBeginInitialize(ptr long ptr ptr) kernel32.InitOnceBeginInitialize -+@ stdcall InitOnceComplete(ptr long ptr) kernel32.InitOnceComplete -+@ stdcall InitOnceExecuteOnce(ptr ptr ptr ptr) kernel32.InitOnceExecuteOnce -+@ stdcall InitOnceInitialize(ptr) kernel32.InitOnceInitialize - @ stdcall InitializeAcl(ptr long long) advapi32.InitializeAcl -+@ stdcall InitializeConditionVariable(ptr) kernel32.InitializeConditionVariable -+@ stub InitializeContext - @ stdcall InitializeCriticalSection(ptr) kernel32.InitializeCriticalSection - @ stdcall InitializeCriticalSectionAndSpinCount(ptr long) kernel32.InitializeCriticalSectionAndSpinCount - @ stdcall InitializeCriticalSectionEx(ptr long long) kernel32.InitializeCriticalSectionEx - @ stdcall InitializeProcThreadAttributeList(ptr long long ptr) kernel32.InitializeProcThreadAttributeList -+@ stub InitializeProcessForWsWatch - @ stdcall InitializeSListHead(ptr) kernel32.InitializeSListHead - @ stdcall InitializeSRWLock(ptr) kernel32.InitializeSRWLock - @ stdcall InitializeSecurityDescriptor(ptr long) advapi32.InitializeSecurityDescriptor - @ stdcall InitializeSid(ptr ptr long) advapi32.InitializeSid -+@ stub InitializeSynchronizationBarrier -+@ stub InstallELAMCertificateInfo -+@ stdcall -arch=i386 InterlockedCompareExchange(ptr long long) kernel32.InterlockedCompareExchange -+@ stdcall -arch=i386 -ret64 InterlockedCompareExchange64(ptr int64 int64) kernel32.InterlockedCompareExchange64 -+@ stdcall -arch=i386 InterlockedDecrement(ptr) kernel32.InterlockedDecrement -+@ stdcall -arch=i386 InterlockedExchange(ptr long) kernel32.InterlockedExchange -+@ stdcall -arch=i386 InterlockedExchangeAdd(ptr long ) kernel32.InterlockedExchangeAdd - @ stdcall InterlockedFlushSList(ptr) kernel32.InterlockedFlushSList -+@ stdcall -arch=i386 InterlockedIncrement(ptr) kernel32.InterlockedIncrement - @ stdcall InterlockedPopEntrySList(ptr) kernel32.InterlockedPopEntrySList - @ stdcall InterlockedPushEntrySList(ptr ptr) kernel32.InterlockedPushEntrySList - @ stdcall -norelay InterlockedPushListSList(ptr ptr ptr long) kernel32.InterlockedPushListSList -+@ stdcall InterlockedPushListSListEx(ptr ptr ptr long) kernel32.InterlockedPushListSListEx - @ stub InternalLcidToName - @ stub Internal_EnumCalendarInfo - @ stub Internal_EnumDateFormats -@@ -386,33 +803,96 @@ - @ stub Internal_EnumSystemLocales - @ stub Internal_EnumTimeFormats - @ stub Internal_EnumUILanguages --@ stub InvalidateTzSpecificCache -+@ stub InternetTimeFromSystemTimeA -+@ stub InternetTimeFromSystemTimeW -+@ stub InternetTimeToSystemTimeA -+@ stub InternetTimeToSystemTimeW -+@ stub InvalidateAppModelVersionCache -+@ stdcall IsCharAlphaA(long) user32.IsCharAlphaA -+@ stdcall IsCharAlphaNumericA(long) user32.IsCharAlphaNumericA -+@ stdcall IsCharAlphaNumericW(long) user32.IsCharAlphaNumericW -+@ stdcall IsCharAlphaW(long) user32.IsCharAlphaW -+@ stdcall IsCharBlankW(long) shlwapi.IsCharBlankW -+@ stdcall IsCharCntrlW(ptr) shlwapi.IsCharCntrlW -+@ stdcall IsCharDigitW(long) shlwapi.IsCharDigitW -+@ stdcall IsCharLowerA(long) user32.IsCharLowerA -+@ stdcall IsCharLowerW(long) user32.IsCharLowerW -+@ stdcall IsCharPunctW(long) shlwapi.IsCharPunctW -+@ stdcall IsCharSpaceA(long) shlwapi.IsCharSpaceA -+@ stdcall IsCharSpaceW(long) shlwapi.IsCharSpaceW -+@ stdcall IsCharUpperA(long) user32.IsCharUpperA -+@ stdcall IsCharUpperW(long) user32.IsCharUpperW -+@ stdcall IsCharXDigitW(long) shlwapi.IsCharXDigitW - @ stdcall IsDBCSLeadByte(long) kernel32.IsDBCSLeadByte - @ stdcall IsDBCSLeadByteEx(long long) kernel32.IsDBCSLeadByteEx - @ stdcall IsDebuggerPresent() kernel32.IsDebuggerPresent -+@ stub IsDeveloperModeEnabled -+@ stub IsDeveloperModePolicyApplied -+@ stdcall IsInternetESCEnabled() shlwapi.IsInternetESCEnabled - @ stub IsNLSDefinedString -+@ stdcall IsNormalizedString(long wstr long) kernel32.IsNormalizedString -+@ stub IsProcessCritical - @ stdcall IsProcessInJob(long long ptr) kernel32.IsProcessInJob -+@ stdcall IsProcessorFeaturePresent(long) kernel32.IsProcessorFeaturePresent -+@ stub IsSideloadingEnabled -+@ stub IsSideloadingPolicyApplied -+@ stub IsSyncForegroundPolicyRefresh -+@ stdcall IsThreadAFiber() kernel32.IsThreadAFiber - @ stdcall IsThreadpoolTimerSet(ptr) kernel32.IsThreadpoolTimerSet -+@ stub IsTimeZoneRedirectionEnabled - @ stdcall IsTokenRestricted(long) advapi32.IsTokenRestricted - @ stdcall IsValidAcl(ptr) advapi32.IsValidAcl - @ stdcall IsValidCodePage(long) kernel32.IsValidCodePage - @ stdcall IsValidLanguageGroup(long long) kernel32.IsValidLanguageGroup - @ stdcall IsValidLocale(long long) kernel32.IsValidLocale - @ stdcall IsValidLocaleName(wstr) kernel32.IsValidLocaleName -+@ stub IsValidNLSVersion - @ stub IsValidRelativeSecurityDescriptor - @ stdcall IsValidSecurityDescriptor(ptr) advapi32.IsValidSecurityDescriptor - @ stdcall IsValidSid(ptr) advapi32.IsValidSid - @ stdcall IsWellKnownSid(ptr long) advapi32.IsWellKnownSid - @ stdcall IsWow64Process(ptr ptr) kernel32.IsWow64Process -+@ stdcall K32EmptyWorkingSet(long) kernel32.K32EmptyWorkingSet -+@ stdcall K32EnumDeviceDrivers(ptr long ptr) kernel32.K32EnumDeviceDrivers -+@ stdcall K32EnumPageFilesA(ptr ptr) kernel32.K32EnumPageFilesA -+@ stdcall K32EnumPageFilesW(ptr ptr) kernel32.K32EnumPageFilesW -+@ stdcall K32EnumProcessModules(long ptr long ptr) kernel32.K32EnumProcessModules -+@ stdcall K32EnumProcessModulesEx(long ptr long ptr long) kernel32.K32EnumProcessModulesEx -+@ stdcall K32EnumProcesses(ptr long ptr) kernel32.K32EnumProcesses -+@ stdcall K32GetDeviceDriverBaseNameA(ptr ptr long) kernel32.K32GetDeviceDriverBaseNameA -+@ stdcall K32GetDeviceDriverBaseNameW(ptr ptr long) kernel32.K32GetDeviceDriverBaseNameW -+@ stdcall K32GetDeviceDriverFileNameA(ptr ptr long) kernel32.K32GetDeviceDriverFileNameA -+@ stdcall K32GetDeviceDriverFileNameW(ptr ptr long) kernel32.K32GetDeviceDriverFileNameW -+@ stdcall K32GetMappedFileNameA(long ptr ptr long) kernel32.K32GetMappedFileNameA -+@ stdcall K32GetMappedFileNameW(long ptr ptr long) kernel32.K32GetMappedFileNameW -+@ stdcall K32GetModuleBaseNameA(long long ptr long) kernel32.K32GetModuleBaseNameA -+@ stdcall K32GetModuleBaseNameW(long long ptr long) kernel32.K32GetModuleBaseNameW -+@ stdcall K32GetModuleFileNameExA(long long ptr long) kernel32.K32GetModuleFileNameExA -+@ stdcall K32GetModuleFileNameExW(long long ptr long) kernel32.K32GetModuleFileNameExW -+@ stdcall K32GetModuleInformation(long long ptr long) kernel32.K32GetModuleInformation -+@ stdcall K32GetPerformanceInfo(ptr long) kernel32.K32GetPerformanceInfo -+@ stdcall K32GetProcessImageFileNameA(long ptr long) kernel32.K32GetProcessImageFileNameA -+@ stdcall K32GetProcessImageFileNameW(long ptr long) kernel32.K32GetProcessImageFileNameW -+@ stdcall K32GetProcessMemoryInfo(long ptr long) kernel32.K32GetProcessMemoryInfo -+@ stdcall K32GetWsChanges(long ptr long) kernel32.K32GetWsChanges -+@ stub K32GetWsChangesEx -+@ stdcall K32InitializeProcessForWsWatch(long) kernel32.K32InitializeProcessForWsWatch -+@ stdcall K32QueryWorkingSet(long ptr long) kernel32.K32QueryWorkingSet -+@ stdcall K32QueryWorkingSetEx(long ptr long) kernel32.K32QueryWorkingSetEx - @ stub KernelBaseGetGlobalData - @ stdcall LCIDToLocaleName(long ptr long long) kernel32.LCIDToLocaleName - @ stdcall LCMapStringA(long long str long ptr long) kernel32.LCMapStringA - @ stdcall LCMapStringEx(wstr long wstr long ptr long ptr ptr long) kernel32.LCMapStringEx - @ stdcall LCMapStringW(long long wstr long ptr long) kernel32.LCMapStringW -+@ stub LeaveCriticalPolicySectionInternal - @ stdcall LeaveCriticalSection(ptr) kernel32.LeaveCriticalSection - @ stdcall LeaveCriticalSectionWhenCallbackReturns(ptr ptr) kernel32.LeaveCriticalSectionWhenCallbackReturns -+@ stub LoadAppInitDlls -+@ stdcall LoadLibraryA(str) kernel32.LoadLibraryA - @ stdcall LoadLibraryExA( str long long) kernel32.LoadLibraryExA - @ stdcall LoadLibraryExW(wstr long long) kernel32.LoadLibraryExW -+@ stdcall LoadLibraryW(wstr) kernel32.LoadLibraryW -+@ stub LoadPackagedLibrary - @ stdcall LoadResource(long long) kernel32.LoadResource - @ stdcall LoadStringA(long long ptr long) user32.LoadStringA - @ stub LoadStringBaseExW -@@ -425,6 +905,7 @@ - @ stdcall LocalReAlloc(long long long) kernel32.LocalReAlloc - @ stdcall LocalUnlock(long) kernel32.LocalUnlock - @ stdcall LocaleNameToLCID(wstr long) kernel32.LocaleNameToLCID -+@ stub LocateXStateFeature - @ stdcall LockFile(long long long long long) kernel32.LockFile - @ stdcall LockFileEx(long long long long long ptr) kernel32.LockFileEx - @ stdcall LockResource(long) kernel32.LockResource -@@ -432,10 +913,19 @@ - @ stub MakeAbsoluteSD2 - @ stdcall MakeSelfRelativeSD(ptr ptr ptr) advapi32.MakeSelfRelativeSD - @ stdcall MapGenericMask(ptr ptr) advapi32.MapGenericMask -+@ stub MapPredefinedHandleInternal -+@ stub MapUserPhysicalPages - @ stdcall MapViewOfFile(long long long long long) kernel32.MapViewOfFile - @ stdcall MapViewOfFileEx(long long long long long ptr) kernel32.MapViewOfFileEx - @ stub MapViewOfFileExNuma -+@ stub MapViewOfFileFromApp -+@ stdcall MoveFileExW(wstr wstr long) kernel32.MoveFileExW -+@ stub MoveFileWithProgressTransactedW -+@ stdcall MoveFileWithProgressW(wstr wstr ptr ptr long) kernel32.MoveFileWithProgressW -+@ stdcall MulDiv(long long long) kernel32.MulDiv - @ stdcall MultiByteToWideChar(long long str long ptr long) kernel32.MultiByteToWideChar -+@ stub NamedPipeEventEnum -+@ stub NamedPipeEventSelect - @ stdcall NeedCurrentDirectoryForExePathA(str) kernel32.NeedCurrentDirectoryForExePathA - @ stdcall NeedCurrentDirectoryForExePathW(wstr) kernel32.NeedCurrentDirectoryForExePathW - @ stub NlsCheckPolicy -@@ -448,65 +938,453 @@ - @ stub NlsUpdateSystemLocale - @ stub NlsValidateLocale - @ stub NlsWriteEtwEvent -+@ stdcall NormalizeString(long wstr long ptr long) kernel32.NormalizeString - @ stub NotifyMountMgr - @ stub NotifyRedirectedStringChange - @ stdcall ObjectCloseAuditAlarmW(wstr ptr long) advapi32.ObjectCloseAuditAlarmW - @ stdcall ObjectDeleteAuditAlarmW(wstr ptr long) advapi32.ObjectDeleteAuditAlarmW - @ stdcall ObjectOpenAuditAlarmW(wstr ptr wstr wstr ptr long long long ptr long long ptr) advapi32.ObjectOpenAuditAlarmW - @ stdcall ObjectPrivilegeAuditAlarmW(wstr ptr long long ptr long) advapi32.ObjectPrivilegeAuditAlarmW -+@ stub OfferVirtualMemory - @ stdcall OpenEventA(long long str) kernel32.OpenEventA - @ stdcall OpenEventW(long long wstr) kernel32.OpenEventW -+@ stdcall OpenFileById(long ptr long long ptr long) kernel32.OpenFileById -+@ stub OpenFileMappingFromApp - @ stdcall OpenFileMappingW(long long wstr) kernel32.OpenFileMappingW -+@ stub OpenGlobalizationUserSettingsKey - @ stdcall OpenMutexW(long long wstr) kernel32.OpenMutexW -+@ stub OpenPackageInfoByFullName -+@ stub OpenPackageInfoByFullNameForUser -+@ stub OpenPrivateNamespaceW - @ stdcall OpenProcess(long long long) kernel32.OpenProcess - @ stdcall OpenProcessToken(long long ptr) advapi32.OpenProcessToken - @ stub OpenRegKey - @ stdcall OpenSemaphoreW(long long wstr) kernel32.OpenSemaphoreW -+@ stub OpenState -+@ stub OpenStateAtom -+@ stub OpenStateExplicit -+@ stub OpenStateExplicitForUserSid -+@ stub OpenStateExplicitForUserSidString - @ stdcall OpenThread(long long long) kernel32.OpenThread - @ stdcall OpenThreadToken(long long long ptr) advapi32.OpenThreadToken - @ stdcall OpenWaitableTimerW(long long wstr) kernel32.OpenWaitableTimerW - @ stdcall OutputDebugStringA(str) kernel32.OutputDebugStringA - @ stdcall OutputDebugStringW(wstr) kernel32.OutputDebugStringW -+@ stub OverrideRoamingDataModificationTimesInRange -+@ stub PackageFamilyNameFromFullName -+@ stub PackageFamilyNameFromId -+@ stub PackageFamilyNameFromProductId -+@ stub PackageFullNameFromId -+@ stub PackageFullNameFromProductId -+@ stub PackageIdFromFullName -+@ stub PackageIdFromProductId -+@ stub PackageNameAndPublisherIdFromFamilyName -+@ stub PackageRelativeApplicationIdFromProductId -+@ stub PackageSidFromFamilyName -+@ stub PackageSidFromProductId -+@ stub ParseApplicationUserModelId -+@ stdcall ParseURLA(str ptr) shlwapi.ParseURLA -+@ stdcall ParseURLW(wstr ptr) shlwapi.ParseURLW -+@ stdcall PathAddBackslashA(str) shlwapi.PathAddBackslashA -+@ stdcall PathAddBackslashW(wstr) shlwapi.PathAddBackslashW -+@ stdcall PathAddExtensionA(str str) shlwapi.PathAddExtensionA -+@ stdcall PathAddExtensionW(wstr wstr) shlwapi.PathAddExtensionW -+@ stub PathAllocCanonicalize -+@ stub PathAllocCombine -+@ stdcall PathAppendA(str str) shlwapi.PathAppendA -+@ stdcall PathAppendW(wstr wstr) shlwapi.PathAppendW -+@ stdcall PathCanonicalizeA(ptr str) shlwapi.PathCanonicalizeA -+@ stdcall PathCanonicalizeW(ptr wstr) shlwapi.PathCanonicalizeW -+@ stub PathCchAddBackslash -+@ stub PathCchAddBackslashEx -+@ stub PathCchAddExtension -+@ stub PathCchAppend -+@ stub PathCchAppendEx -+@ stub PathCchCanonicalize -+@ stub PathCchCanonicalizeEx -+@ stub PathCchCombine -+@ stub PathCchCombineEx -+@ stub PathCchFindExtension -+@ stub PathCchIsRoot -+@ stub PathCchRemoveBackslash -+@ stub PathCchRemoveBackslashEx -+@ stub PathCchRemoveExtension -+@ stub PathCchRemoveFileSpec -+@ stub PathCchRenameExtension -+@ stub PathCchSkipRoot -+@ stub PathCchStripPrefix -+@ stub PathCchStripToRoot -+@ stdcall PathCombineA(ptr str str) shlwapi.PathCombineA -+@ stdcall PathCombineW(ptr wstr wstr) shlwapi.PathCombineW -+@ stdcall PathCommonPrefixA(str str ptr) shlwapi.PathCommonPrefixA -+@ stdcall PathCommonPrefixW(wstr wstr ptr) shlwapi.PathCommonPrefixW -+@ stdcall PathCreateFromUrlA(str ptr ptr long) shlwapi.PathCreateFromUrlA -+@ stdcall PathCreateFromUrlAlloc(wstr ptr long) shlwapi.PathCreateFromUrlAlloc -+@ stdcall PathCreateFromUrlW(wstr ptr ptr long) shlwapi.PathCreateFromUrlW -+@ stdcall PathFileExistsA(str) shlwapi.PathFileExistsA -+@ stdcall PathFileExistsW(wstr) shlwapi.PathFileExistsW -+@ stdcall PathFindExtensionA(str) shlwapi.PathFindExtensionA -+@ stdcall PathFindExtensionW(wstr) shlwapi.PathFindExtensionW -+@ stdcall PathFindFileNameA(str) shlwapi.PathFindFileNameA -+@ stdcall PathFindFileNameW(wstr) shlwapi.PathFindFileNameW -+@ stdcall PathFindNextComponentA(str) shlwapi.PathFindNextComponentA -+@ stdcall PathFindNextComponentW(wstr) shlwapi.PathFindNextComponentW -+@ stdcall PathGetArgsA(str) shlwapi.PathGetArgsA -+@ stdcall PathGetArgsW(wstr) shlwapi.PathGetArgsW -+@ stdcall PathGetCharTypeA(long) shlwapi.PathGetCharTypeA -+@ stdcall PathGetCharTypeW(long) shlwapi.PathGetCharTypeW -+@ stdcall PathGetDriveNumberA(str) shlwapi.PathGetDriveNumberA -+@ stdcall PathGetDriveNumberW(wstr) shlwapi.PathGetDriveNumberW -+@ stdcall PathIsFileSpecA(str) shlwapi.PathIsFileSpecA -+@ stdcall PathIsFileSpecW(wstr) shlwapi.PathIsFileSpecW -+@ stdcall PathIsLFNFileSpecA(str) shlwapi.PathIsLFNFileSpecA -+@ stdcall PathIsLFNFileSpecW(wstr) shlwapi.PathIsLFNFileSpecW -+@ stdcall PathIsPrefixA(str str) shlwapi.PathIsPrefixA -+@ stdcall PathIsPrefixW(wstr wstr) shlwapi.PathIsPrefixW -+@ stdcall PathIsRelativeA(str) shlwapi.PathIsRelativeA -+@ stdcall PathIsRelativeW(wstr) shlwapi.PathIsRelativeW -+@ stdcall PathIsRootA(str) shlwapi.PathIsRootA -+@ stdcall PathIsRootW(wstr) shlwapi.PathIsRootW -+@ stdcall PathIsSameRootA(str str) shlwapi.PathIsSameRootA -+@ stdcall PathIsSameRootW(wstr wstr) shlwapi.PathIsSameRootW -+@ stdcall PathIsUNCA(str) shlwapi.PathIsUNCA -+@ stub PathIsUNCEx -+@ stdcall PathIsUNCServerA(str) shlwapi.PathIsUNCServerA -+@ stdcall PathIsUNCServerShareA(str) shlwapi.PathIsUNCServerShareA -+@ stdcall PathIsUNCServerShareW(wstr) shlwapi.PathIsUNCServerShareW -+@ stdcall PathIsUNCServerW(wstr) shlwapi.PathIsUNCServerW -+@ stdcall PathIsUNCW(wstr) shlwapi.PathIsUNCW -+@ stdcall PathIsURLA(str) shlwapi.PathIsURLA -+@ stdcall PathIsURLW(wstr) shlwapi.PathIsURLW -+@ stdcall PathIsValidCharA(long long) shlwapi.PathIsValidCharA -+@ stdcall PathIsValidCharW(long long) shlwapi.PathIsValidCharW -+@ stdcall PathMatchSpecA(str str) shlwapi.PathMatchSpecA -+@ stub PathMatchSpecExA -+@ stub PathMatchSpecExW -+@ stdcall PathMatchSpecW(wstr wstr) shlwapi.PathMatchSpecW -+@ stdcall PathParseIconLocationA(str) shlwapi.PathParseIconLocationA -+@ stdcall PathParseIconLocationW(wstr) shlwapi.PathParseIconLocationW -+@ stdcall PathQuoteSpacesA(str) shlwapi.PathQuoteSpacesA -+@ stdcall PathQuoteSpacesW(wstr) shlwapi.PathQuoteSpacesW -+@ stdcall PathRelativePathToA(ptr str long str long) shlwapi.PathRelativePathToA -+@ stdcall PathRelativePathToW(ptr wstr long wstr long) shlwapi.PathRelativePathToW -+@ stdcall PathRemoveBackslashA(str) shlwapi.PathRemoveBackslashA -+@ stdcall PathRemoveBackslashW(wstr) shlwapi.PathRemoveBackslashW -+@ stdcall PathRemoveBlanksA(str) shlwapi.PathRemoveBlanksA -+@ stdcall PathRemoveBlanksW(wstr) shlwapi.PathRemoveBlanksW -+@ stdcall PathRemoveExtensionA(str) shlwapi.PathRemoveExtensionA -+@ stdcall PathRemoveExtensionW(wstr) shlwapi.PathRemoveExtensionW -+@ stdcall PathRemoveFileSpecA(str) shlwapi.PathRemoveFileSpecA -+@ stdcall PathRemoveFileSpecW(wstr) shlwapi.PathRemoveFileSpecW -+@ stdcall PathRenameExtensionA(str str) shlwapi.PathRenameExtensionA -+@ stdcall PathRenameExtensionW(wstr wstr) shlwapi.PathRenameExtensionW -+@ stdcall PathSearchAndQualifyA(str ptr long) shlwapi.PathSearchAndQualifyA -+@ stdcall PathSearchAndQualifyW(wstr ptr long) shlwapi.PathSearchAndQualifyW -+@ stdcall PathSkipRootA(str) shlwapi.PathSkipRootA -+@ stdcall PathSkipRootW(wstr) shlwapi.PathSkipRootW -+@ stdcall PathStripPathA(str) shlwapi.PathStripPathA -+@ stdcall PathStripPathW(wstr) shlwapi.PathStripPathW -+@ stdcall PathStripToRootA(str) shlwapi.PathStripToRootA -+@ stdcall PathStripToRootW(wstr) shlwapi.PathStripToRootW -+@ stdcall PathUnExpandEnvStringsA(str ptr long) shlwapi.PathUnExpandEnvStringsA -+@ stdcall PathUnExpandEnvStringsW(wstr ptr long) shlwapi.PathUnExpandEnvStringsW -+@ stdcall PathUnquoteSpacesA(str) shlwapi.PathUnquoteSpacesA -+@ stdcall PathUnquoteSpacesW(wstr) shlwapi.PathUnquoteSpacesW -+@ stub PcwAddQueryItem -+@ stub PcwClearCounterSetSecurity -+@ stub PcwCollectData -+@ stub PcwCompleteNotification -+@ stub PcwCreateNotifier -+@ stub PcwCreateQuery -+@ stub PcwDisconnectCounterSet -+@ stub PcwEnumerateInstances -+@ stub PcwIsNotifierAlive -+@ stub PcwQueryCounterSetSecurity -+@ stub PcwReadNotificationData -+@ stub PcwRegisterCounterSet -+@ stub PcwRemoveQueryItem -+@ stub PcwSendNotification -+@ stub PcwSendStatelessNotification -+@ stub PcwSetCounterSetSecurity -+@ stub PcwSetQueryItemUserData -+@ stdcall PeekConsoleInputA(ptr ptr long ptr) kernel32.PeekConsoleInputA -+@ stdcall PeekConsoleInputW(ptr ptr long ptr) kernel32.PeekConsoleInputW - @ stdcall PeekNamedPipe(long ptr long ptr ptr ptr) kernel32.PeekNamedPipe -+@ stub PerfCreateInstance -+@ stub PerfDecrementULongCounterValue -+@ stub PerfDecrementULongLongCounterValue -+@ stub PerfDeleteInstance -+@ stub PerfIncrementULongCounterValue -+@ stub PerfIncrementULongLongCounterValue -+@ stub PerfQueryInstance -+@ stub PerfSetCounterRefValue -+@ stub PerfSetCounterSetInfo -+@ stub PerfSetULongCounterValue -+@ stub PerfSetULongLongCounterValue -+@ stub PerfStartProvider -+@ stub PerfStartProviderEx -+@ stub PerfStopProvider -+@ stub PoolPerAppKeyStateInternal - @ stdcall PostQueuedCompletionStatus(long long ptr ptr) kernel32.PostQueuedCompletionStatus -+@ stub PrefetchVirtualMemory -+@ stub PrivCopyFileExW - @ stdcall PrivilegeCheck(ptr ptr ptr) advapi32.PrivilegeCheck - @ stdcall PrivilegedServiceAuditAlarmW(wstr wstr long ptr long) advapi32.PrivilegedServiceAuditAlarmW - @ stdcall ProcessIdToSessionId(long ptr) kernel32.ProcessIdToSessionId -+@ stub ProductIdFromPackageFamilyName -+@ stub PsmCreateKey -+@ stub PsmCreateKeyWithDynamicId -+@ stub PsmEqualApplication -+@ stub PsmEqualPackage -+@ stub PsmGetApplicationNameFromKey -+@ stub PsmGetKeyFromProcess -+@ stub PsmGetKeyFromToken -+@ stub PsmGetPackageFullNameFromKey -+@ stub PsmIsChildKey -+@ stub PsmIsDynamicKey -+@ stub PsmIsValidKey -+@ stub PssCaptureSnapshot -+@ stub PssDuplicateSnapshot -+@ stub PssFreeSnapshot -+@ stub PssQuerySnapshot -+@ stub PssWalkMarkerCreate -+@ stub PssWalkMarkerFree -+@ stub PssWalkMarkerGetPosition -+@ stub PssWalkMarkerSeekToBeginning -+@ stub PssWalkMarkerSetPosition -+@ stub PssWalkSnapshot -+@ stub PublishStateChangeNotification - @ stdcall PulseEvent(long) kernel32.PulseEvent -+@ stdcall PurgeComm(long long) kernel32.PurgeComm -+@ stdcall QISearch(long long long long) shlwapi.QISearch -+@ stub QueryActCtxSettingsW -+@ stdcall QueryActCtxW(long ptr ptr long ptr long ptr) kernel32.QueryActCtxW - @ stdcall QueryDepthSList(ptr) kernel32.QueryDepthSList - @ stdcall QueryDosDeviceW(wstr ptr long) kernel32.QueryDosDeviceW -+@ stdcall QueryFullProcessImageNameA(ptr long ptr ptr) kernel32.QueryFullProcessImageNameA -+@ stdcall QueryFullProcessImageNameW(ptr long ptr ptr) kernel32.QueryFullProcessImageNameW -+@ stub QueryIdleProcessorCycleTime -+@ stub QueryIdleProcessorCycleTimeEx -+@ stub QueryInterruptTime -+@ stub QueryInterruptTimePrecise -+@ stdcall QueryMemoryResourceNotification(ptr ptr) kernel32.QueryMemoryResourceNotification -+@ stub QueryOptionalDelayLoadedAPI - @ stdcall QueryPerformanceCounter(ptr) kernel32.QueryPerformanceCounter - @ stdcall QueryPerformanceFrequency(ptr) kernel32.QueryPerformanceFrequency - @ stub QueryProcessAffinityUpdateMode -+@ stub QueryProcessCycleTime -+@ stub QueryProtectedPolicy - @ stub QuerySecurityAccessMask -+@ stub QueryStateAtomValueInfo -+@ stub QueryStateContainerItemInfo -+@ stdcall QueryThreadCycleTime(long ptr) kernel32.QueryThreadCycleTime - @ stub QueryThreadpoolStackInformation -+@ stdcall QueryUnbiasedInterruptTime(ptr) kernel32.QueryUnbiasedInterruptTime -+@ stub QueryUnbiasedInterruptTimePrecise -+@ stub QueryWorkingSet -+@ stub QueryWorkingSetEx - @ stdcall QueueUserAPC(ptr long long) kernel32.QueueUserAPC -+@ stdcall QueueUserWorkItem(ptr ptr long) kernel32.QueueUserWorkItem -+@ stub QuirkGetData -+@ stub QuirkGetData2 +@@ -1223,7 +1223,7 @@ + @ stdcall QueueUserWorkItem(ptr ptr long) kernel32.QueueUserWorkItem + # @ stub QuirkGetData + # @ stub QuirkGetData2 +-# @ stub QuirkIsEnabled +@ stdcall QuirkIsEnabled(ptr) -+@ stub QuirkIsEnabled2 -+@ stub QuirkIsEnabled3 -+@ stub QuirkIsEnabledForPackage -+@ stub QuirkIsEnabledForPackage2 -+@ stub QuirkIsEnabledForPackage3 -+@ stub QuirkIsEnabledForPackage4 -+@ stub QuirkIsEnabledForProcess - @ stdcall RaiseException(long long long ptr) kernel32.RaiseException -+@ stub RaiseFailFastException -+@ stub ReOpenFile -+@ stdcall ReadConsoleA(long ptr long ptr ptr) kernel32.ReadConsoleA -+@ stdcall ReadConsoleInputA(long ptr long ptr) kernel32.ReadConsoleInputA -+@ stub ReadConsoleInputExA -+@ stub ReadConsoleInputExW -+@ stdcall ReadConsoleInputW(long ptr long ptr) kernel32.ReadConsoleInputW -+@ stdcall ReadConsoleOutputA(long ptr long long ptr) kernel32.ReadConsoleOutputA -+@ stdcall ReadConsoleOutputAttribute(long ptr long long ptr) kernel32.ReadConsoleOutputAttribute -+@ stdcall ReadConsoleOutputCharacterA(long ptr long long ptr) kernel32.ReadConsoleOutputCharacterA -+@ stdcall ReadConsoleOutputCharacterW(long ptr long long ptr) kernel32.ReadConsoleOutputCharacterW -+@ stdcall ReadConsoleOutputW(long ptr long long ptr) kernel32.ReadConsoleOutputW -+@ stdcall ReadConsoleW(long ptr long ptr ptr) kernel32.ReadConsoleW -+@ stdcall ReadDirectoryChangesW(long ptr long long long ptr ptr ptr) kernel32.ReadDirectoryChangesW - @ stdcall ReadFile(long ptr long ptr ptr) kernel32.ReadFile - @ stdcall ReadFileEx(long ptr long ptr ptr) kernel32.ReadFileEx - @ stdcall ReadFileScatter(long ptr long ptr ptr) kernel32.ReadFileScatter - @ stdcall ReadProcessMemory(long ptr ptr long ptr) kernel32.ReadProcessMemory -+@ stub ReadStateAtomValue -+@ stub ReadStateContainerValue -+@ stub ReclaimVirtualMemory -+@ stub RefreshPolicyExInternal -+@ stub RefreshPolicyInternal -+@ stdcall -private RegCloseKey(long) kernel32.RegCloseKey -+@ stdcall RegCopyTreeW(long wstr long) advapi32.RegCopyTreeW -+@ stdcall -private RegCreateKeyExA(long str long ptr long long ptr ptr ptr) kernel32.RegCreateKeyExA -+@ stub RegCreateKeyExInternalA -+@ stub RegCreateKeyExInternalW -+@ stdcall -private RegCreateKeyExW(long wstr long ptr long long ptr ptr ptr) kernel32.RegCreateKeyExW -+@ stdcall -private RegDeleteKeyExA(long str long long) kernel32.RegDeleteKeyExA -+@ stub RegDeleteKeyExInternalA -+@ stub RegDeleteKeyExInternalW -+@ stdcall -private RegDeleteKeyExW(long wstr long long) kernel32.RegDeleteKeyExW -+@ stdcall RegDeleteKeyValueA(long str str) advapi32.RegDeleteKeyValueA -+@ stdcall RegDeleteKeyValueW(long wstr wstr) advapi32.RegDeleteKeyValueW -+@ stdcall -private RegDeleteTreeA(long str) kernel32.RegDeleteTreeA -+@ stdcall -private RegDeleteTreeW(long wstr) kernel32.RegDeleteTreeW -+@ stdcall -private RegDeleteValueA(long str) kernel32.RegDeleteValueA -+@ stdcall -private RegDeleteValueW(long wstr) kernel32.RegDeleteValueW -+@ stub RegDisablePredefinedCacheEx -+@ stdcall -private RegEnumKeyExA(long long ptr ptr ptr ptr ptr ptr) kernel32.RegEnumKeyExA -+@ stdcall -private RegEnumKeyExW(long long ptr ptr ptr ptr ptr ptr) kernel32.RegEnumKeyExW -+@ stdcall -private RegEnumValueA(long long ptr ptr ptr ptr ptr ptr) kernel32.RegEnumValueA -+@ stdcall -private RegEnumValueW(long long ptr ptr ptr ptr ptr ptr) kernel32.RegEnumValueW -+@ stdcall -private RegFlushKey(long) kernel32.RegFlushKey -+@ stdcall -private RegGetKeySecurity(long long ptr ptr) kernel32.RegGetKeySecurity -+@ stdcall -private RegGetValueA(long str str long ptr ptr ptr) kernel32.RegGetValueA -+@ stdcall -private RegGetValueW(long wstr wstr long ptr ptr ptr) kernel32.RegGetValueW -+@ stub RegKrnGetAppKeyEventAddressInternal -+@ stub RegKrnGetAppKeyLoaded -+@ stub RegKrnGetClassesEnumTableAddressInternal -+@ stub RegKrnGetHKEY_ClassesRootAddress -+@ stub RegKrnGetTermsrvRegistryExtensionFlags -+@ stub RegKrnResetAppKeyLoaded -+@ stub RegKrnSetDllHasThreadStateGlobal -+@ stub RegKrnSetTermsrvRegistryExtensionFlags -+@ stub RegLoadAppKeyA -+@ stub RegLoadAppKeyW -+@ stdcall -private RegLoadKeyA(long str str) kernel32.RegLoadKeyA -+@ stdcall -private RegLoadKeyW(long wstr wstr) kernel32.RegLoadKeyW -+@ stdcall -private RegLoadMUIStringA(long str str long ptr long str) kernel32.RegLoadMUIStringA -+@ stdcall -private RegLoadMUIStringW(long wstr wstr long ptr long wstr) kernel32.RegLoadMUIStringW -+@ stdcall -private RegNotifyChangeKeyValue(long long long long long) kernel32.RegNotifyChangeKeyValue -+@ stdcall -private RegOpenCurrentUser(long ptr) kernel32.RegOpenCurrentUser -+@ stdcall -private RegOpenKeyExA(long str long long ptr) kernel32.RegOpenKeyExA -+@ stub RegOpenKeyExInternalA -+@ stub RegOpenKeyExInternalW -+@ stdcall -private RegOpenKeyExW(long wstr long long ptr) kernel32.RegOpenKeyExW -+@ stdcall -private RegOpenUserClassesRoot(ptr long long ptr) kernel32.RegOpenUserClassesRoot -+@ stdcall -private RegQueryInfoKeyA(long ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr) kernel32.RegQueryInfoKeyA -+@ stdcall -private RegQueryInfoKeyW(long ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr) kernel32.RegQueryInfoKeyW -+@ stdcall -private RegQueryValueExA(long str ptr ptr ptr ptr) kernel32.RegQueryValueExA -+@ stdcall -private RegQueryValueExW(long wstr ptr ptr ptr ptr) kernel32.RegQueryValueExW -+@ stdcall -private RegRestoreKeyA(long str long) kernel32.RegRestoreKeyA -+@ stdcall -private RegRestoreKeyW(long wstr long) kernel32.RegRestoreKeyW -+@ stub RegSaveKeyExA -+@ stub RegSaveKeyExW -+@ stdcall -private RegSetKeySecurity(long long ptr) kernel32.RegSetKeySecurity -+@ stdcall RegSetKeyValueA(long str str long ptr long) advapi32.RegSetKeyValueA -+@ stdcall RegSetKeyValueW(long wstr wstr long ptr long) advapi32.RegSetKeyValueW -+@ stdcall -private RegSetValueExA(long str long long ptr long) kernel32.RegSetValueExA -+@ stdcall -private RegSetValueExW(long wstr long long ptr long) kernel32.RegSetValueExW -+@ stdcall -private RegUnLoadKeyA(long str) kernel32.RegUnLoadKeyA -+@ stdcall -private RegUnLoadKeyW(long wstr) kernel32.RegUnLoadKeyW -+@ stub RegisterBadMemoryNotification -+@ stub RegisterGPNotificationInternal -+@ stub RegisterStateChangeNotification -+@ stub RegisterStateLock -+@ stdcall RegisterTraceGuidsW(ptr ptr ptr long ptr wstr wstr ptr) advapi32.RegisterTraceGuidsW - @ stdcall RegisterWaitForSingleObjectEx(long ptr ptr long long) kernel32.RegisterWaitForSingleObjectEx -+@ stdcall ReleaseActCtx(ptr) kernel32.ReleaseActCtx - @ stdcall ReleaseMutex(long) kernel32.ReleaseMutex - @ stdcall ReleaseMutexWhenCallbackReturns(ptr long) kernel32.ReleaseMutexWhenCallbackReturns - @ stdcall ReleaseSRWLockExclusive(ptr) kernel32.ReleaseSRWLockExclusive - @ stdcall ReleaseSRWLockShared(ptr) kernel32.ReleaseSRWLockShared - @ stdcall ReleaseSemaphore(long long ptr) kernel32.ReleaseSemaphore - @ stdcall ReleaseSemaphoreWhenCallbackReturns(ptr long long) kernel32.ReleaseSemaphoreWhenCallbackReturns -+@ stub ReleaseStateLock -+@ stub RemapPredefinedHandleInternal - @ stdcall RemoveDirectoryA(str) kernel32.RemoveDirectoryA - @ stdcall RemoveDirectoryW(wstr) kernel32.RemoveDirectoryW - @ stub RemoveDllDirectory -+@ stub RemovePackageStatus -+@ stub RemovePackageStatusForUser -+@ stdcall RemoveVectoredContinueHandler(ptr) kernel32.RemoveVectoredContinueHandler -+@ stdcall RemoveVectoredExceptionHandler(ptr) kernel32.RemoveVectoredExceptionHandler -+@ stub ReplaceFileExInternal -+@ stdcall ReplaceFileW(wstr wstr wstr long ptr ptr) kernel32.ReplaceFileW - @ stdcall ResetEvent(long) kernel32.ResetEvent -+@ stub ResetState -+@ stdcall ResetWriteWatch(ptr long) kernel32.ResetWriteWatch -+@ stdcall ResolveDelayLoadedAPI(ptr ptr ptr ptr ptr long) kernel32.ResolveDelayLoadedAPI -+@ stub ResolveDelayLoadsFromDll - @ stub ResolveLocaleName -+@ stdcall RestoreLastError(long) kernel32.RestoreLastError - @ stdcall ResumeThread(long) kernel32.ResumeThread - @ stdcall RevertToSelf() advapi32.RevertToSelf -+@ stub RsopLoggingEnabledInternal -+@ stub SHCoCreateInstance -+@ stdcall SHExpandEnvironmentStringsA(str ptr long) kernel32.ExpandEnvironmentStringsA -+@ stdcall SHExpandEnvironmentStringsW(wstr ptr long) kernel32.ExpandEnvironmentStringsW -+@ stdcall SHLoadIndirectString(wstr ptr long ptr) shlwapi.SHLoadIndirectString -+@ stub SHLoadIndirectStringInternal -+@ stdcall SHRegCloseUSKey(ptr) shlwapi.SHRegCloseUSKey -+@ stdcall SHRegCreateUSKeyA(str long long ptr long) shlwapi.SHRegCreateUSKeyA -+@ stdcall SHRegCreateUSKeyW(wstr long long ptr long) shlwapi.SHRegCreateUSKeyW -+@ stdcall SHRegDeleteEmptyUSKeyA(long str long) shlwapi.SHRegDeleteEmptyUSKeyA -+@ stdcall SHRegDeleteEmptyUSKeyW(long wstr long) shlwapi.SHRegDeleteEmptyUSKeyW -+@ stdcall SHRegDeleteUSValueA(long str long) shlwapi.SHRegDeleteUSValueA -+@ stdcall SHRegDeleteUSValueW(long wstr long) shlwapi.SHRegDeleteUSValueW -+@ stdcall SHRegEnumUSKeyA(long long str ptr long) shlwapi.SHRegEnumUSKeyA -+@ stdcall SHRegEnumUSKeyW(long long wstr ptr long) shlwapi.SHRegEnumUSKeyW -+@ stdcall SHRegEnumUSValueA(long long ptr ptr ptr ptr ptr long) shlwapi.SHRegEnumUSValueA -+@ stdcall SHRegEnumUSValueW(long long ptr ptr ptr ptr ptr long) shlwapi.SHRegEnumUSValueW -+@ stdcall SHRegGetBoolUSValueA(str str long long) shlwapi.SHRegGetBoolUSValueA -+@ stdcall SHRegGetBoolUSValueW(wstr wstr long long) shlwapi.SHRegGetBoolUSValueW -+@ stdcall SHRegGetUSValueA( str str ptr ptr ptr long ptr long ) shlwapi.SHRegGetUSValueA -+@ stdcall SHRegGetUSValueW( wstr wstr ptr ptr ptr long ptr long ) shlwapi.SHRegGetUSValueW -+@ stdcall SHRegOpenUSKeyA( str long long long long ) shlwapi.SHRegOpenUSKeyA -+@ stdcall SHRegOpenUSKeyW( wstr long long long long ) shlwapi.SHRegOpenUSKeyW -+@ stdcall SHRegQueryInfoUSKeyA( long ptr ptr ptr ptr long ) shlwapi.SHRegQueryInfoUSKeyA -+@ stdcall SHRegQueryInfoUSKeyW( long ptr ptr ptr ptr long ) shlwapi.SHRegQueryInfoUSKeyW -+@ stdcall SHRegQueryUSValueA( long str ptr ptr ptr long ptr long ) shlwapi.SHRegQueryUSValueA -+@ stdcall SHRegQueryUSValueW( long wstr ptr ptr ptr long ptr long ) shlwapi.SHRegQueryUSValueW -+@ stdcall SHRegSetUSValueA( str str long ptr long long) shlwapi.SHRegSetUSValueA -+@ stdcall SHRegSetUSValueW( wstr wstr long ptr long long) shlwapi.SHRegSetUSValueW -+@ stdcall SHRegWriteUSValueA(long str long ptr long long) shlwapi.SHRegWriteUSValueA -+@ stdcall SHRegWriteUSValueW(long wstr long ptr long long) shlwapi.SHRegWriteUSValueW -+@ stdcall SHTruncateString(str long) shlwapi.SHTruncateString -+@ stub SaveAlternatePackageRootPath -+@ stub SaveStateRootFolderPath -+@ stdcall ScrollConsoleScreenBufferA(long ptr ptr ptr ptr) kernel32.ScrollConsoleScreenBufferA -+@ stdcall ScrollConsoleScreenBufferW(long ptr ptr ptr ptr) kernel32.ScrollConsoleScreenBufferW -+@ stdcall SearchPathA(str str str long ptr ptr) kernel32.SearchPathA - @ stdcall SearchPathW(wstr wstr wstr long ptr ptr) kernel32.SearchPathW - @ stdcall SetAclInformation(ptr ptr long long) advapi32.SetAclInformation -+@ stub SetCachedSigningLevel - @ stdcall SetCalendarInfoW(long long long wstr) kernel32.SetCalendarInfoW -+@ stub SetClientDynamicTimeZoneInformation -+@ stub SetClientTimeZoneInformation -+@ stdcall SetCommBreak(long) kernel32.SetCommBreak -+@ stdcall SetCommConfig(long ptr long) kernel32.SetCommConfig -+@ stdcall SetCommMask(long long) kernel32.SetCommMask -+@ stdcall SetCommState(long ptr) kernel32.SetCommState -+@ stdcall SetCommTimeouts(long ptr) kernel32.SetCommTimeouts -+@ stdcall SetComputerNameA(str) kernel32.SetComputerNameA -+@ stub SetComputerNameEx2W -+@ stdcall SetComputerNameExA(long str) kernel32.SetComputerNameExA -+@ stdcall SetComputerNameExW(long wstr) kernel32.SetComputerNameExW -+@ stdcall SetComputerNameW(wstr) kernel32.SetComputerNameW -+@ stdcall SetConsoleActiveScreenBuffer(long) kernel32.SetConsoleActiveScreenBuffer -+@ stdcall SetConsoleCP(long) kernel32.SetConsoleCP -+@ stdcall SetConsoleCtrlHandler(ptr long) kernel32.SetConsoleCtrlHandler -+@ stdcall SetConsoleCursorInfo(long ptr) kernel32.SetConsoleCursorInfo -+@ stdcall SetConsoleCursorPosition(long long) kernel32.SetConsoleCursorPosition -+@ stdcall SetConsoleInputExeNameA(str) kernel32.SetConsoleInputExeNameA -+@ stdcall SetConsoleInputExeNameW(wstr) kernel32.SetConsoleInputExeNameW -+@ stdcall SetConsoleMode(long long) kernel32.SetConsoleMode -+@ stdcall SetConsoleOutputCP(long) kernel32.SetConsoleOutputCP -+@ stdcall SetConsoleScreenBufferInfoEx(long ptr) kernel32.SetConsoleScreenBufferInfoEx -+@ stdcall SetConsoleScreenBufferSize(long long) kernel32.SetConsoleScreenBufferSize -+@ stdcall SetConsoleTextAttribute(long long) kernel32.SetConsoleTextAttribute -+@ stdcall SetConsoleTitleW(wstr) kernel32.SetConsoleTitleW -+@ stdcall SetConsoleWindowInfo(long long ptr) kernel32.SetConsoleWindowInfo - @ stdcall SetCriticalSectionSpinCount(ptr long) kernel32.SetCriticalSectionSpinCount - @ stdcall SetCurrentDirectoryA(str) kernel32.SetCurrentDirectoryA - @ stdcall SetCurrentDirectoryW(wstr) kernel32.SetCurrentDirectoryW - @ stdcall SetDefaultDllDirectories(long) kernel32.SetDefaultDllDirectories -+@ stub SetDynamicTimeZoneInformation - @ stdcall SetEndOfFile(long) kernel32.SetEndOfFile - @ stub SetEnvironmentStringsW - @ stdcall SetEnvironmentVariableA(str str) kernel32.SetEnvironmentVariableA -@@ -519,6 +1397,7 @@ - @ stdcall SetFileAttributesA(str long) kernel32.SetFileAttributesA - @ stdcall SetFileAttributesW(wstr long) kernel32.SetFileAttributesW - @ stdcall SetFileInformationByHandle(long long ptr long) kernel32.SetFileInformationByHandle -+@ stub SetFileIoOverlappedRange - @ stdcall SetFilePointer(long long ptr long) kernel32.SetFilePointer - @ stdcall SetFilePointerEx(long int64 ptr long) kernel32.SetFilePointerEx - @ stdcall SetFileSecurityW(wstr long ptr) advapi32.SetFileSecurityW -@@ -526,7 +1405,10 @@ - @ stdcall SetFileValidData(ptr int64) kernel32.SetFileValidData - @ stdcall SetHandleCount(long) kernel32.SetHandleCount - @ stdcall SetHandleInformation(long long long) kernel32.SetHandleInformation -+@ stub SetIsDeveloperModeEnabled -+@ stub SetIsSideloadingEnabled - @ stdcall SetKernelObjectSecurity(long long ptr) advapi32.SetKernelObjectSecurity -+@ stub SetLastConsoleEventActive - @ stdcall SetLastError(long) kernel32.SetLastError - @ stdcall SetLocalTime(ptr) kernel32.SetLocalTime - @ stdcall SetLocaleInfoW(long long wstr) kernel32.SetLocaleInfoW -@@ -535,7 +1417,17 @@ - @ stdcall SetPrivateObjectSecurity(long ptr ptr ptr long) advapi32.SetPrivateObjectSecurity - @ stub SetPrivateObjectSecurityEx - @ stub SetProcessAffinityUpdateMode -+@ stub SetProcessDefaultCpuSets -+@ stub SetProcessGroupAffinity -+@ stub SetProcessInformation -+@ stub SetProcessMitigationPolicy -+@ stub SetProcessPreferredUILanguages -+@ stdcall SetProcessPriorityBoost(long long) kernel32.SetProcessPriorityBoost - @ stdcall SetProcessShutdownParameters(long long) kernel32.SetProcessShutdownParameters -+@ stub SetProcessValidCallTargets -+@ stub SetProcessWorkingSetSizeEx -+@ stub SetProtectedPolicy -+@ stub SetRoamingLastObservedChangeTime - @ stub SetSecurityAccessMask - @ stdcall SetSecurityDescriptorControl(ptr long long) advapi32.SetSecurityDescriptorControl - @ stdcall SetSecurityDescriptorDacl(ptr long ptr long) advapi32.SetSecurityDescriptorDacl -@@ -543,61 +1435,219 @@ - @ stdcall SetSecurityDescriptorOwner(ptr ptr long) advapi32.SetSecurityDescriptorOwner - @ stub SetSecurityDescriptorRMControl - @ stdcall SetSecurityDescriptorSacl(ptr long ptr long) advapi32.SetSecurityDescriptorSacl -+@ stub SetStateVersion - @ stdcall SetStdHandle(long long) kernel32.SetStdHandle - @ stub SetStdHandleEx -+@ stdcall SetSystemFileCacheSize(long long long) kernel32.SetSystemFileCacheSize -+@ stdcall SetSystemTime(ptr) kernel32.SetSystemTime -+@ stdcall SetSystemTimeAdjustment(long long) kernel32.SetSystemTimeAdjustment -+@ stdcall SetThreadContext(long ptr) kernel32.SetThreadContext -+@ stdcall SetThreadErrorMode(long ptr) kernel32.SetThreadErrorMode -+@ stdcall SetThreadGroupAffinity(long ptr ptr) kernel32.SetThreadGroupAffinity -+@ stdcall SetThreadIdealProcessor(long long) kernel32.SetThreadIdealProcessor -+@ stub SetThreadIdealProcessorEx -+@ stub SetThreadInformation - @ stdcall SetThreadLocale(long) kernel32.SetThreadLocale -+@ stdcall SetThreadPreferredUILanguages(long ptr ptr) kernel32.SetThreadPreferredUILanguages - @ stdcall SetThreadPriority(long long) kernel32.SetThreadPriority - @ stdcall SetThreadPriorityBoost(long long) kernel32.SetThreadPriorityBoost -+@ stub SetThreadSelectedCpuSets - @ stdcall SetThreadStackGuarantee(ptr) kernel32.SetThreadStackGuarantee - @ stdcall SetThreadToken(ptr ptr) advapi32.SetThreadToken -+@ stdcall SetThreadUILanguage(long) kernel32.SetThreadUILanguage - @ stub SetThreadpoolStackInformation - @ stdcall SetThreadpoolThreadMaximum(ptr long) kernel32.SetThreadpoolThreadMaximum - @ stdcall SetThreadpoolThreadMinimum(ptr long) kernel32.SetThreadpoolThreadMinimum - @ stdcall SetThreadpoolTimer(ptr ptr long long) kernel32.SetThreadpoolTimer -+@ stub SetThreadpoolTimerEx - @ stdcall SetThreadpoolWait(ptr long ptr) kernel32.SetThreadpoolWait -+@ stub SetThreadpoolWaitEx -+@ stdcall SetTimeZoneInformation(ptr) kernel32.SetTimeZoneInformation - @ stdcall SetTokenInformation(long long ptr long) advapi32.SetTokenInformation -+@ stdcall SetUnhandledExceptionFilter(ptr) kernel32.SetUnhandledExceptionFilter -+@ stdcall SetUserGeoID(long) kernel32.SetUserGeoID - @ stdcall SetWaitableTimer(long ptr long ptr ptr long) kernel32.SetWaitableTimer - @ stdcall SetWaitableTimerEx(long ptr long ptr ptr ptr long) kernel32.SetWaitableTimerEx -+@ stub SetXStateFeaturesMask -+@ stdcall SetupComm(long long long) kernel32.SetupComm -+@ stub SharedLocalIsEnabled -+@ stdcall SignalObjectAndWait(long long long long) kernel32.SignalObjectAndWait - @ stdcall SizeofResource(long long) kernel32.SizeofResource - @ stdcall Sleep(long) kernel32.Sleep -+@ stdcall SleepConditionVariableCS(ptr ptr long) kernel32.SleepConditionVariableCS -+@ stdcall SleepConditionVariableSRW(ptr ptr long long) kernel32.SleepConditionVariableSRW - @ stdcall SleepEx(long long) kernel32.SleepEx - @ stub SpecialMBToWC - @ stub StartThreadpoolIo -+@ stub StmAlignSize -+@ stub StmAllocateFlat -+@ stub StmCoalesceChunks -+@ stub StmDeinitialize -+@ stub StmInitialize -+@ stub StmReduceSize -+@ stub StmReserve -+@ stub StmWrite -+@ stdcall StrCSpnA(str str) shlwapi.StrCSpnA -+@ stdcall StrCSpnIA(str str) shlwapi.StrCSpnIA -+@ stdcall StrCSpnIW(wstr wstr) shlwapi.StrCSpnIW -+@ stdcall StrCSpnW(wstr wstr) shlwapi.StrCSpnW -+@ stdcall StrCatBuffA(str str long) shlwapi.StrCatBuffA -+@ stdcall StrCatBuffW(wstr wstr long) shlwapi.StrCatBuffW -+@ stdcall StrCatChainW(ptr long long wstr) shlwapi.StrCatChainW -+@ stdcall StrChrA(str long) shlwapi.StrChrA -+@ stub StrChrA_MB -+@ stdcall StrChrIA(str long) shlwapi.StrChrIA -+@ stdcall StrChrIW(wstr long) shlwapi.StrChrIW -+@ stub StrChrNIW -+@ stdcall StrChrNW(wstr long long) shlwapi.StrChrNW -+@ stdcall StrChrW(wstr long) shlwapi.StrChrW -+@ stdcall StrCmpCA(str str) shlwapi.StrCmpCA -+@ stdcall StrCmpCW(wstr wstr) shlwapi.StrCmpCW -+@ stdcall StrCmpICA(str str) shlwapi.StrCmpICA -+@ stdcall StrCmpICW(wstr wstr) shlwapi.StrCmpICW -+@ stdcall StrCmpIW(wstr wstr) shlwapi.StrCmpIW -+@ stdcall StrCmpLogicalW(wstr wstr) shlwapi.StrCmpLogicalW -+@ stdcall StrCmpNA(str str long) shlwapi.StrCmpNA -+@ stdcall StrCmpNCA(str ptr long) shlwapi.StrCmpNCA -+@ stdcall StrCmpNCW(wstr wstr long) shlwapi.StrCmpNCW -+@ stdcall StrCmpNIA(str str long) shlwapi.StrCmpNIA -+@ stdcall StrCmpNICA(long long long) shlwapi.StrCmpNICA -+@ stdcall StrCmpNICW(wstr wstr long) shlwapi.StrCmpNICW -+@ stdcall StrCmpNIW(wstr wstr long) shlwapi.StrCmpNIW -+@ stdcall StrCmpNW(wstr wstr long) shlwapi.StrCmpNW -+@ stdcall StrCmpW(wstr wstr) shlwapi.StrCmpW -+@ stdcall StrCpyNW(ptr wstr long) shlwapi.StrCpyNW -+@ stdcall StrCpyNXA(ptr str long) shlwapi.StrCpyNXA -+@ stdcall StrCpyNXW(ptr wstr long) shlwapi.StrCpyNXW -+@ stdcall StrDupA(str) shlwapi.StrDupA -+@ stdcall StrDupW(wstr) shlwapi.StrDupW -+@ stdcall StrIsIntlEqualA(long str str long) shlwapi.StrIsIntlEqualA -+@ stdcall StrIsIntlEqualW(long wstr wstr long) shlwapi.StrIsIntlEqualW -+@ stdcall StrPBrkA(str str) shlwapi.StrPBrkA -+@ stdcall StrPBrkW(wstr wstr) shlwapi.StrPBrkW -+@ stdcall StrRChrA(str str long) shlwapi.StrRChrA -+@ stdcall StrRChrIA(str str long) shlwapi.StrRChrIA -+@ stdcall StrRChrIW(wstr wstr long) shlwapi.StrRChrIW -+@ stdcall StrRChrW(wstr wstr long) shlwapi.StrRChrW -+@ stdcall StrRStrIA(str str str) shlwapi.StrRStrIA -+@ stdcall StrRStrIW(wstr wstr wstr) shlwapi.StrRStrIW -+@ stdcall StrSpnA(str str) shlwapi.StrSpnA -+@ stdcall StrSpnW(wstr wstr) shlwapi.StrSpnW -+@ stdcall StrStrA(str str) shlwapi.StrStrA -+@ stdcall StrStrIA(str str) shlwapi.StrStrIA -+@ stdcall StrStrIW(wstr wstr) shlwapi.StrStrIW -+@ stdcall StrStrNIW(wstr wstr long) shlwapi.StrStrNIW -+@ stdcall StrStrNW(wstr wstr long) shlwapi.StrStrNW -+@ stdcall StrStrW(wstr wstr) shlwapi.StrStrW -+@ stdcall StrToInt64ExA(str long ptr) shlwapi.StrToInt64ExA -+@ stdcall StrToInt64ExW(wstr long ptr) shlwapi.StrToInt64ExW -+@ stdcall StrToIntA(str) shlwapi.StrToIntA -+@ stdcall StrToIntExA(str long ptr) shlwapi.StrToIntExA -+@ stdcall StrToIntExW(wstr long ptr) shlwapi.StrToIntExW -+@ stdcall StrToIntW(wstr) shlwapi.StrToIntW -+@ stdcall StrTrimA(str str) shlwapi.StrTrimA -+@ stdcall StrTrimW(wstr wstr) shlwapi.StrTrimW - @ stdcall SubmitThreadpoolWork(ptr) kernel32.SubmitThreadpoolWork -+@ stub SubscribeStateChangeNotification - @ stdcall SuspendThread(long) kernel32.SuspendThread -+@ stdcall SwitchToFiber(ptr) kernel32.SwitchToFiber - @ stdcall SwitchToThread() kernel32.SwitchToThread - @ stdcall SystemTimeToFileTime(ptr ptr) kernel32.SystemTimeToFileTime - @ stdcall SystemTimeToTzSpecificLocalTime(ptr ptr ptr) kernel32.SystemTimeToTzSpecificLocalTime - @ stub SystemTimeToTzSpecificLocalTimeEx - @ stdcall TerminateProcess(long long) kernel32.TerminateProcess -+@ stub TerminateProcessOnMemoryExhaustion - @ stdcall TerminateThread(long long) kernel32.TerminateThread - @ stdcall TlsAlloc() kernel32.TlsAlloc - @ stdcall TlsFree(long) kernel32.TlsFree - @ stdcall TlsGetValue(long) kernel32.TlsGetValue - @ stdcall TlsSetValue(long ptr) kernel32.TlsSetValue -+@ stdcall TraceEvent(int64 ptr) advapi32.TraceEvent -+@ varargs TraceMessage(int64 long ptr long) advapi32.TraceMessage -+@ stdcall TraceMessageVa(int64 long ptr long ptr) advapi32.TraceMessageVa - @ stdcall TransactNamedPipe(long ptr long ptr long ptr ptr) kernel32.TransactNamedPipe -+@ stdcall TransmitCommChar(long long) kernel32.TransmitCommChar - @ stdcall TryAcquireSRWLockExclusive(ptr) kernel32.TryAcquireSRWLockExclusive - @ stdcall TryAcquireSRWLockShared(ptr) kernel32.TryAcquireSRWLockShared - @ stdcall TryEnterCriticalSection(ptr) kernel32.TryEnterCriticalSection - @ stdcall TrySubmitThreadpoolCallback(ptr ptr ptr) kernel32.TrySubmitThreadpoolCallback - @ stdcall TzSpecificLocalTimeToSystemTime(ptr ptr ptr) kernel32.TzSpecificLocalTimeToSystemTime - @ stub TzSpecificLocalTimeToSystemTimeEx -+@ stdcall UnhandledExceptionFilter(ptr) kernel32.UnhandledExceptionFilter - @ stdcall UnlockFile(long long long long long) kernel32.UnlockFile - @ stdcall UnlockFileEx(long long long long ptr) kernel32.UnlockFileEx - @ stdcall UnmapViewOfFile(ptr) kernel32.UnmapViewOfFile -+@ stub UnmapViewOfFileEx -+@ stub UnregisterBadMemoryNotification -+@ stub UnregisterGPNotificationInternal -+@ stub UnregisterStateChangeNotification -+@ stub UnregisterStateLock -+@ stdcall UnregisterTraceGuids(int64) advapi32.UnregisterTraceGuids - @ stdcall UnregisterWaitEx(long long) kernel32.UnregisterWaitEx -+@ stub UnsubscribeStateChangeNotification -+@ stub UpdatePackageStatus -+@ stub UpdatePackageStatusForUser - @ stdcall UpdateProcThreadAttribute(ptr long long ptr long ptr ptr) kernel32.UpdateProcThreadAttribute -+@ stdcall UrlApplySchemeA(str ptr ptr long) shlwapi.UrlApplySchemeA -+@ stdcall UrlApplySchemeW(wstr ptr ptr long) shlwapi.UrlApplySchemeW -+@ stdcall UrlCanonicalizeA(str ptr ptr long) shlwapi.UrlCanonicalizeA -+@ stdcall UrlCanonicalizeW(wstr ptr ptr long) shlwapi.UrlCanonicalizeW -+@ stdcall UrlCombineA(str str ptr ptr long) shlwapi.UrlCombineA -+@ stdcall UrlCombineW(wstr wstr ptr ptr long) shlwapi.UrlCombineW -+@ stdcall UrlCompareA(str str long) shlwapi.UrlCompareA -+@ stdcall UrlCompareW(wstr wstr long) shlwapi.UrlCompareW -+@ stdcall UrlCreateFromPathA(str ptr ptr long) shlwapi.UrlCreateFromPathA -+@ stdcall UrlCreateFromPathW(wstr ptr ptr long) shlwapi.UrlCreateFromPathW -+@ stdcall UrlEscapeA(str ptr ptr long) shlwapi.UrlEscapeA -+@ stdcall UrlEscapeW(wstr ptr ptr long) shlwapi.UrlEscapeW -+@ stdcall UrlFixupW(wstr wstr long) shlwapi.UrlFixupW -+@ stdcall UrlGetLocationA(str) shlwapi.UrlGetLocationA -+@ stdcall UrlGetLocationW(wstr) shlwapi.UrlGetLocationW -+@ stdcall UrlGetPartA(str ptr ptr long long) shlwapi.UrlGetPartA -+@ stdcall UrlGetPartW(wstr ptr ptr long long) shlwapi.UrlGetPartW -+@ stdcall UrlHashA(str ptr long) shlwapi.UrlHashA -+@ stdcall UrlHashW(wstr ptr long) shlwapi.UrlHashW -+@ stdcall UrlIsA(str long) shlwapi.UrlIsA -+@ stdcall UrlIsNoHistoryA(str) shlwapi.UrlIsNoHistoryA -+@ stdcall UrlIsNoHistoryW(wstr) shlwapi.UrlIsNoHistoryW -+@ stdcall UrlIsOpaqueA(str) shlwapi.UrlIsOpaqueA -+@ stdcall UrlIsOpaqueW(wstr) shlwapi.UrlIsOpaqueW -+@ stdcall UrlIsW(wstr long) shlwapi.UrlIsW -+@ stdcall UrlUnescapeA(str ptr ptr long) shlwapi.UrlUnescapeA -+@ stdcall UrlUnescapeW(wstr ptr ptr long) shlwapi.UrlUnescapeW -+@ stub VerFindFileA -+@ stub VerFindFileW - @ stdcall VerLanguageNameA(long str long) kernel32.VerLanguageNameA - @ stdcall VerLanguageNameW(long wstr long) kernel32.VerLanguageNameW -+@ stub VerQueryValueA -+@ stub VerQueryValueW -+@ stdcall -ret64 VerSetConditionMask(long long long long) kernel32.VerSetConditionMask -+@ stub VerifyApplicationUserModelId -+@ stub VerifyPackageFamilyName -+@ stub VerifyPackageFullName -+@ stub VerifyPackageId -+@ stub VerifyPackageRelativeApplicationId -+@ stub VerifyScripts - @ stdcall VirtualAlloc(ptr long long long) kernel32.VirtualAlloc - @ stdcall VirtualAllocEx(long ptr long long long) kernel32.VirtualAllocEx - @ stub VirtualAllocExNuma -+@ stub VirtualAllocFromApp - @ stdcall VirtualFree(ptr long long) kernel32.VirtualFree - @ stdcall VirtualFreeEx(long ptr long long) kernel32.VirtualFreeEx -+@ stdcall VirtualLock(ptr long) kernel32.VirtualLock - @ stdcall VirtualProtect(ptr long long ptr) kernel32.VirtualProtect - @ stdcall VirtualProtectEx(long ptr long long ptr) kernel32.VirtualProtectEx -+@ stub VirtualProtectFromApp - @ stdcall VirtualQuery(ptr ptr long) kernel32.VirtualQuery - @ stdcall VirtualQueryEx(long ptr ptr long) kernel32.VirtualQueryEx -+@ stdcall VirtualUnlock(ptr long) kernel32.VirtualUnlock -+@ stub WTSGetServiceSessionId -+@ stub WTSIsServerContainer -+@ stdcall WaitCommEvent(long ptr ptr) kernel32.WaitCommEvent -+@ stdcall WaitForDebugEvent(ptr long) kernel32.WaitForDebugEvent -+@ stub WaitForDebugEventEx -+@ stub WaitForMachinePolicyForegroundProcessingInternal -+@ stdcall WaitForMultipleObjects(long ptr long long) kernel32.WaitForMultipleObjects - @ stdcall WaitForMultipleObjectsEx(long ptr long long long) kernel32.WaitForMultipleObjectsEx - @ stdcall WaitForSingleObject(long long) kernel32.WaitForSingleObject - @ stdcall WaitForSingleObjectEx(long long long) kernel32.WaitForSingleObjectEx -@@ -605,18 +1655,61 @@ - @ stdcall WaitForThreadpoolTimerCallbacks(ptr long) kernel32.WaitForThreadpoolTimerCallbacks - @ stdcall WaitForThreadpoolWaitCallbacks(ptr long) kernel32.WaitForThreadpoolWaitCallbacks - @ stdcall WaitForThreadpoolWorkCallbacks(ptr long) kernel32.WaitForThreadpoolWorkCallbacks -+@ stub WaitForUserPolicyForegroundProcessingInternal - @ stdcall WaitNamedPipeW(wstr long) kernel32.WaitNamedPipeW -+@ stub WaitOnAddress -+@ stdcall WakeAllConditionVariable(ptr) kernel32.WakeAllConditionVariable -+@ stub WakeByAddressAll -+@ stub WakeByAddressSingle -+@ stdcall WakeConditionVariable(ptr) kernel32.WakeConditionVariable -+@ stub WerGetFlags -+@ stdcall WerRegisterFile(wstr long long) kernel32.WerRegisterFile -+@ stdcall WerRegisterMemoryBlock(ptr long) kernel32.WerRegisterMemoryBlock -+@ stdcall WerRegisterRuntimeExceptionModule(wstr ptr) kernel32.WerRegisterRuntimeExceptionModule -+@ stdcall WerSetFlags(long) kernel32.WerSetFlags -+@ stub WerUnregisterFile -+@ stdcall WerUnregisterMemoryBlock(ptr) kernel32.WerUnregisterMemoryBlock -+@ stub WerUnregisterRuntimeExceptionModule -+@ stub WerpNotifyLoadStringResource -+@ stub WerpNotifyUseStringResource - @ stdcall WideCharToMultiByte(long long wstr long ptr long ptr ptr) kernel32.WideCharToMultiByte - @ stdcall Wow64DisableWow64FsRedirection(ptr) kernel32.Wow64DisableWow64FsRedirection - @ stdcall Wow64RevertWow64FsRedirection(ptr) kernel32.Wow64RevertWow64FsRedirection -+@ stdcall WriteConsoleA(long ptr long ptr ptr) kernel32.WriteConsoleA -+@ stdcall WriteConsoleInputA(long ptr long ptr) kernel32.WriteConsoleInputA -+@ stdcall WriteConsoleInputW(long ptr long ptr) kernel32.WriteConsoleInputW -+@ stdcall WriteConsoleOutputA(long ptr long long ptr) kernel32.WriteConsoleOutputA -+@ stdcall WriteConsoleOutputAttribute(long ptr long long ptr) kernel32.WriteConsoleOutputAttribute -+@ stdcall WriteConsoleOutputCharacterA(long ptr long long ptr) kernel32.WriteConsoleOutputCharacterA -+@ stdcall WriteConsoleOutputCharacterW(long ptr long long ptr) kernel32.WriteConsoleOutputCharacterW -+@ stdcall WriteConsoleOutputW(long ptr long long ptr) kernel32.WriteConsoleOutputW -+@ stdcall WriteConsoleW(long ptr long ptr ptr) kernel32.WriteConsoleW - @ stdcall WriteFile(long ptr long ptr ptr) kernel32.WriteFile - @ stdcall WriteFileEx(long ptr long ptr ptr) kernel32.WriteFileEx - @ stdcall WriteFileGather(long ptr long ptr ptr) kernel32.WriteFileGather - @ stdcall WriteProcessMemory(long ptr ptr long ptr) kernel32.WriteProcessMemory --@ stdcall -arch=x86_64 -private __C_specific_handler(ptr long ptr ptr) kernel32.__C_specific_handler --@ stdcall -arch=arm,x86_64 -private -norelay __chkstk() kernel32.__chkstk --@ stub __misaligned_access --@ stdcall -arch=x86_64 -private _local_unwind(ptr ptr) kernel32._local_unwind -+@ stub WriteStateAtomValue -+@ stub WriteStateContainerValue -+@ stdcall ZombifyActCtx(ptr) kernel32.ZombifyActCtx -+@ stub _AddMUIStringToCache -+@ stub _GetMUIStringFromCache -+@ stub _OpenMuiStringCache -+@ stub __dllonexit3 -+@ stub __wgetmainargs -+@ stub _amsg_exit -+@ stub _c_exit -+@ stub _cexit -+@ stub _exit -+@ stub _initterm -+@ stub _initterm_e -+@ stub _invalid_parameter -+@ stub _onexit -+@ stub _purecall -+@ stub _time64 -+@ stub atexit -+@ stub exit -+@ stub hgets -+@ stub hwprintf - @ stdcall lstrcmp(str str) kernel32.lstrcmp - @ stdcall lstrcmpA(str str) kernel32.lstrcmpA - @ stdcall lstrcmpW(wstr wstr) kernel32.lstrcmpW -@@ -629,3 +1722,5 @@ - @ stdcall lstrlen(str) kernel32.lstrlen - @ stdcall lstrlenA(str) kernel32.lstrlenA - @ stdcall lstrlenW(wstr) kernel32.lstrlenW -+@ stub time -+@ stub wprintf + # @ stub QuirkIsEnabled2 + # @ stub QuirkIsEnabled3 + # @ stub QuirkIsEnabledForPackage diff --git a/dlls/kernelbase/misc.c b/dlls/kernelbase/misc.c new file mode 100644 index 0000000000..be1591aee7 @@ -1783,17 +104,17 @@ index 6b6ead2696..7c2a9d117e 100644 422 stdcall -noname SHGlobalCounterCreateNamedA(str long) 423 stdcall -noname SHGlobalCounterCreateNamedW(wstr long) diff --git a/tools/make_specfiles b/tools/make_specfiles -index bd0314ff15..770e2f6c21 100755 +index d00603a41f..7a54f75801 100755 --- a/tools/make_specfiles +++ b/tools/make_specfiles -@@ -250,6 +250,7 @@ my @dll_groups = +@@ -252,6 +252,7 @@ my @dll_groups = [ "kernel32", "advapi32", + "shlwapi", "user32", - "kernelbase", - "api-ms-win-core-bem-l1-1-0", + "shlwapi", + "version", -- 2.11.0 diff --git a/patches/api-ms-win-Stub_DLLs/0024-kernelbase-Add-stub-for-QuirkIsEnabled3.patch b/patches/api-ms-win-Stub_DLLs/0024-kernelbase-Add-stub-for-QuirkIsEnabled3.patch index 6173ed41..32497366 100644 --- a/patches/api-ms-win-Stub_DLLs/0024-kernelbase-Add-stub-for-QuirkIsEnabled3.patch +++ b/patches/api-ms-win-Stub_DLLs/0024-kernelbase-Add-stub-for-QuirkIsEnabled3.patch @@ -1,4 +1,4 @@ -From d0688788458f243ccef2c337d7ab8f59ead75a3b Mon Sep 17 00:00:00 2001 +From 0238a83494068c02721b955ab2cc52e58e7ed5a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20M=C3=BCller?= Date: Thu, 4 Feb 2016 06:19:57 +0100 Subject: kernelbase: Add stub for QuirkIsEnabled3. @@ -10,7 +10,7 @@ Subject: kernelbase: Add stub for QuirkIsEnabled3. 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/dlls/api-ms-win-core-quirks-l1-1-0/api-ms-win-core-quirks-l1-1-0.spec b/dlls/api-ms-win-core-quirks-l1-1-0/api-ms-win-core-quirks-l1-1-0.spec -index 54ce373..1485512 100644 +index 54ce373b96..1485512d0e 100644 --- a/dlls/api-ms-win-core-quirks-l1-1-0/api-ms-win-core-quirks-l1-1-0.spec +++ b/dlls/api-ms-win-core-quirks-l1-1-0/api-ms-win-core-quirks-l1-1-0.spec @@ -2,7 +2,7 @@ @@ -23,20 +23,20 @@ index 54ce373..1485512 100644 @ stub QuirkIsEnabledForPackage2 @ stub QuirkIsEnabledForProcess diff --git a/dlls/kernelbase/kernelbase.spec b/dlls/kernelbase/kernelbase.spec -index 8fdb80d..c0b2594 100644 +index 3772842ca4..9fba5803b2 100644 --- a/dlls/kernelbase/kernelbase.spec +++ b/dlls/kernelbase/kernelbase.spec -@@ -1189,7 +1189,7 @@ - @ stub QuirkGetData2 +@@ -1225,7 +1225,7 @@ + # @ stub QuirkGetData2 @ stdcall QuirkIsEnabled(ptr) - @ stub QuirkIsEnabled2 --@ stub QuirkIsEnabled3 + # @ stub QuirkIsEnabled2 +-# @ stub QuirkIsEnabled3 +@ stdcall QuirkIsEnabled3(ptr ptr) - @ stub QuirkIsEnabledForPackage - @ stub QuirkIsEnabledForPackage2 - @ stub QuirkIsEnabledForPackage3 + # @ stub QuirkIsEnabledForPackage + # @ stub QuirkIsEnabledForPackage2 + # @ stub QuirkIsEnabledForPackage3 diff --git a/dlls/kernelbase/misc.c b/dlls/kernelbase/misc.c -index be1591a..e703e6d 100644 +index be1591aee7..e703e6d244 100644 --- a/dlls/kernelbase/misc.c +++ b/dlls/kernelbase/misc.c @@ -35,3 +35,13 @@ BOOL WINAPI QuirkIsEnabled(void *arg) @@ -54,5 +54,5 @@ index be1591a..e703e6d 100644 + return FALSE; +} -- -2.7.1 +2.11.0 diff --git a/patches/kernel32-GetPackageFullName/0001-kernel32-Add-stub-for-GetPackageFullName.patch b/patches/kernel32-GetPackageFullName/0001-kernel32-Add-stub-for-GetPackageFullName.patch index 8a14e018..cc12e6be 100644 --- a/patches/kernel32-GetPackageFullName/0001-kernel32-Add-stub-for-GetPackageFullName.patch +++ b/patches/kernel32-GetPackageFullName/0001-kernel32-Add-stub-for-GetPackageFullName.patch @@ -1,4 +1,4 @@ -From 594e57c855592fe07e73003926c09520bc357416 Mon Sep 17 00:00:00 2001 +From d8b434940cd2206dd8c6c731c1ce2d331e0b0d50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20M=C3=BCller?= Date: Thu, 2 Feb 2017 20:49:15 +0100 Subject: kernel32: Add stub for GetPackageFullName. @@ -11,7 +11,7 @@ Subject: kernel32: Add stub for GetPackageFullName. 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/dlls/api-ms-win-appmodel-runtime-l1-1-1/api-ms-win-appmodel-runtime-l1-1-1.spec b/dlls/api-ms-win-appmodel-runtime-l1-1-1/api-ms-win-appmodel-runtime-l1-1-1.spec -index 50f8594785f..4d2edd60f5a 100644 +index 50f8594785..4d2edd60f5 100644 --- a/dlls/api-ms-win-appmodel-runtime-l1-1-1/api-ms-win-appmodel-runtime-l1-1-1.spec +++ b/dlls/api-ms-win-appmodel-runtime-l1-1-1/api-ms-win-appmodel-runtime-l1-1-1.spec @@ -10,7 +10,7 @@ @@ -24,7 +24,7 @@ index 50f8594785f..4d2edd60f5a 100644 @ stub GetPackageInfo @ stub GetPackagePath diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec -index 2668386bf84..f2fcf109715 100644 +index 819b52dbb9..4dcc40ea5d 100644 --- a/dlls/kernel32/kernel32.spec +++ b/dlls/kernel32/kernel32.spec @@ -761,6 +761,7 @@ @@ -36,7 +36,7 @@ index 2668386bf84..f2fcf109715 100644 @ stdcall GetPriorityClass(long) @ stdcall GetPrivateProfileIntA(str str long str) diff --git a/dlls/kernel32/version.c b/dlls/kernel32/version.c -index 5a233efe56f..3cca2ae68ee 100644 +index 5a233efe56..3cca2ae68e 100644 --- a/dlls/kernel32/version.c +++ b/dlls/kernel32/version.c @@ -228,3 +228,12 @@ LONG WINAPI GetCurrentPackageFullName(UINT32 *length, PWSTR name) @@ -53,18 +53,18 @@ index 5a233efe56f..3cca2ae68ee 100644 + return APPMODEL_ERROR_NO_PACKAGE; +} diff --git a/dlls/kernelbase/kernelbase.spec b/dlls/kernelbase/kernelbase.spec -index 12f36c5ede3..daba198bec5 100644 +index 9fba5803b2..d040ba00a8 100644 --- a/dlls/kernelbase/kernelbase.spec +++ b/dlls/kernelbase/kernelbase.spec -@@ -569,7 +569,7 @@ - @ stub GetPackageContext - @ stub GetPackageFamilyName - @ stub GetPackageFamilyNameFromToken --@ stub GetPackageFullName +@@ -593,7 +593,7 @@ + # @ stub GetPackageContext + # @ stub GetPackageFamilyName + # @ stub GetPackageFamilyNameFromToken +-# @ stub GetPackageFullName +@ stdcall GetPackageFullName(long ptr ptr) kernel32.GetPackageFullName - @ stub GetPackageFullNameFromToken - @ stub GetPackageId - @ stub GetPackageInfo + # @ stub GetPackageFullNameFromToken + # @ stub GetPackageId + # @ stub GetPackageInfo -- 2.11.0 diff --git a/patches/kernel32-Processor_Group/0002-kernel32-Add-stub-for-SetThreadIdealProcessorEx.patch b/patches/kernel32-Processor_Group/0002-kernel32-Add-stub-for-SetThreadIdealProcessorEx.patch index a07995ec..56ffc921 100644 --- a/patches/kernel32-Processor_Group/0002-kernel32-Add-stub-for-SetThreadIdealProcessorEx.patch +++ b/patches/kernel32-Processor_Group/0002-kernel32-Add-stub-for-SetThreadIdealProcessorEx.patch @@ -1,4 +1,4 @@ -From c4b5a58889e427b710e64566c2c90c4da8806cee Mon Sep 17 00:00:00 2001 +From bb531528ac5096ece43d100dc11fcc39f744d498 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20M=C3=BCller?= Date: Sat, 4 Feb 2017 16:31:59 +0100 Subject: kernel32: Add stub for SetThreadIdealProcessorEx. @@ -12,7 +12,7 @@ Subject: kernel32: Add stub for SetThreadIdealProcessorEx. 5 files changed, 37 insertions(+), 11 deletions(-) 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 9d321af7240..04329650096 100644 +index 9d321af724..0432965009 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 @@ -47,7 +47,7 @@ @@ -25,7 +25,7 @@ index 9d321af7240..04329650096 100644 @ stdcall SetThreadPriorityBoost(long long) kernel32.SetThreadPriorityBoost @ stdcall SetThreadStackGuarantee(ptr) kernel32.SetThreadStackGuarantee 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 0e30f18e52d..7a729a50040 100644 +index 0e30f18e52..7a729a5004 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 @@ -53,7 +53,7 @@ @@ -38,10 +38,10 @@ index 0e30f18e52d..7a729a50040 100644 @ stdcall SetThreadPriority(long long) kernel32.SetThreadPriority @ stdcall SetThreadPriorityBoost(long long) kernel32.SetThreadPriorityBoost diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec -index 8348621136f..75d9e229cc2 100644 +index 62a91a03f1..f512cb4fd3 100644 --- a/dlls/kernel32/kernel32.spec +++ b/dlls/kernel32/kernel32.spec -@@ -1476,7 +1476,7 @@ +@@ -1448,7 +1448,7 @@ @ stdcall SetThreadExecutionState(long) @ stdcall SetThreadGroupAffinity(long ptr ptr) @ stdcall SetThreadIdealProcessor(long long) @@ -51,7 +51,7 @@ index 8348621136f..75d9e229cc2 100644 @ stdcall SetThreadPreferredUILanguages(long ptr ptr) @ stdcall SetThreadPriority(long long) diff --git a/dlls/kernel32/thread.c b/dlls/kernel32/thread.c -index fd4f299acb7..bd699831bdb 100644 +index c8dd94bbea..0a0b0e4bd6 100644 --- a/dlls/kernel32/thread.c +++ b/dlls/kernel32/thread.c @@ -462,6 +462,28 @@ DWORD_PTR WINAPI SetThreadAffinityMask( HANDLE hThread, DWORD_PTR dwThreadAffini @@ -111,16 +111,16 @@ index fd4f299acb7..bd699831bdb 100644 /*********************************************************************** * GetThreadSelectorEntry (KERNEL32.@) diff --git a/dlls/kernelbase/kernelbase.spec b/dlls/kernelbase/kernelbase.spec -index bdfc067cf6d..db1dbeeb0e1 100644 +index 9fba5803b2..17ef35cb59 100644 --- a/dlls/kernelbase/kernelbase.spec +++ b/dlls/kernelbase/kernelbase.spec -@@ -1445,7 +1445,7 @@ +@@ -1482,7 +1482,7 @@ @ stdcall SetThreadErrorMode(long ptr) kernel32.SetThreadErrorMode @ stdcall SetThreadGroupAffinity(long ptr ptr) kernel32.SetThreadGroupAffinity @ stdcall SetThreadIdealProcessor(long long) kernel32.SetThreadIdealProcessor --@ stub SetThreadIdealProcessorEx +-# @ stub SetThreadIdealProcessorEx +@ stdcall SetThreadIdealProcessorEx(long ptr ptr) kernel32.SetThreadIdealProcessorEx - @ stub SetThreadInformation + # @ stub SetThreadInformation @ stdcall SetThreadLocale(long) kernel32.SetThreadLocale @ stdcall SetThreadPreferredUILanguages(long ptr ptr) kernel32.SetThreadPreferredUILanguages -- diff --git a/patches/kernel32-UmsStubs/0001-kernel32-Add-a-bunch-of-kernel32-stubs.patch b/patches/kernel32-UmsStubs/0001-kernel32-Add-a-bunch-of-kernel32-stubs.patch index 8aecf34e..121c6510 100644 --- a/patches/kernel32-UmsStubs/0001-kernel32-Add-a-bunch-of-kernel32-stubs.patch +++ b/patches/kernel32-UmsStubs/0001-kernel32-Add-a-bunch-of-kernel32-stubs.patch @@ -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 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 diff --git a/patches/patchinstall.sh b/patches/patchinstall.sh index 9874d423..ca3295ff 100755 --- a/patches/patchinstall.sh +++ b/patches/patchinstall.sh @@ -52,7 +52,7 @@ usage() # Get the upstream commit sha upstream_commit() { - echo "42ed54b5d8e67aeb647d5a4fc8af7c8962285c7f" + echo "63bcfa3354edd910ee52b8134af191f7a774b701" } # Show version information diff --git a/patches/wined3d-1DTextures/0015-wined3d-Allow-creation-of-1d-shader-views.patch b/patches/wined3d-1DTextures/0015-wined3d-Allow-creation-of-1d-shader-views.patch index dc3f7889..db632cf9 100644 --- a/patches/wined3d-1DTextures/0015-wined3d-Allow-creation-of-1d-shader-views.patch +++ b/patches/wined3d-1DTextures/0015-wined3d-Allow-creation-of-1d-shader-views.patch @@ -1,4 +1,4 @@ -From 403ca5c3b1f87c94c800e2a40480083eec09ebf5 Mon Sep 17 00:00:00 2001 +From 3e9426e9eddb491050a780e854ad7d7f889e91bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20M=C3=BCller?= Date: Thu, 25 Aug 2016 19:26:07 +0200 Subject: wined3d: Allow creation of 1d shader views. @@ -8,20 +8,20 @@ Subject: wined3d: Allow creation of 1d shader views. 1 file changed, 4 insertions(+) diff --git a/dlls/wined3d/view.c b/dlls/wined3d/view.c -index 7f07d57..97cc11e 100644 +index 82fac25603..a809344126 100644 --- a/dlls/wined3d/view.c +++ b/dlls/wined3d/view.c -@@ -291,6 +291,10 @@ static HRESULT wined3d_shader_resource_view_init(struct wined3d_shader_resource_ - } - view_types[] = +@@ -46,6 +46,10 @@ static GLenum get_texture_view_target(const struct wined3d_gl_info *gl_info, { -+ {GL_TEXTURE_1D, 0, GL_TEXTURE_1D}, -+ {GL_TEXTURE_1D, WINED3D_VIEW_TEXTURE_ARRAY, GL_TEXTURE_1D_ARRAY}, -+ {GL_TEXTURE_1D_ARRAY, 0, GL_TEXTURE_1D}, -+ {GL_TEXTURE_1D_ARRAY, WINED3D_VIEW_TEXTURE_ARRAY, GL_TEXTURE_1D_ARRAY}, - {GL_TEXTURE_2D, 0, GL_TEXTURE_2D}, - {GL_TEXTURE_2D, WINED3D_VIEW_TEXTURE_ARRAY, GL_TEXTURE_2D_ARRAY}, - {GL_TEXTURE_2D_ARRAY, 0, GL_TEXTURE_2D}, + {GL_TEXTURE_CUBE_MAP, 0, GL_TEXTURE_CUBE_MAP}, + {GL_TEXTURE_RECTANGLE, 0, GL_TEXTURE_RECTANGLE}, ++ {GL_TEXTURE_1D, 0, GL_TEXTURE_1D}, ++ {GL_TEXTURE_1D, WINED3D_VIEW_TEXTURE_ARRAY, GL_TEXTURE_1D_ARRAY}, ++ {GL_TEXTURE_1D_ARRAY, 0, GL_TEXTURE_1D}, ++ {GL_TEXTURE_1D_ARRAY, WINED3D_VIEW_TEXTURE_ARRAY, GL_TEXTURE_1D_ARRAY}, + {GL_TEXTURE_2D, 0, GL_TEXTURE_2D}, + {GL_TEXTURE_2D, WINED3D_VIEW_TEXTURE_ARRAY, GL_TEXTURE_2D_ARRAY}, + {GL_TEXTURE_2D_ARRAY, 0, GL_TEXTURE_2D}, -- -2.8.1 +2.11.0 diff --git a/patches/wined3d-CSMT_Main/0009-wined3d-Send-render-target-view-clears-through-the-c.patch b/patches/wined3d-CSMT_Main/0009-wined3d-Send-render-target-view-clears-through-the-c.patch index ea94713e..856e063f 100644 --- a/patches/wined3d-CSMT_Main/0009-wined3d-Send-render-target-view-clears-through-the-c.patch +++ b/patches/wined3d-CSMT_Main/0009-wined3d-Send-render-target-view-clears-through-the-c.patch @@ -1,4 +1,4 @@ -From b880794502fe7d805e3f49b61c8a8b6664cbd187 Mon Sep 17 00:00:00 2001 +From bf11cf98c90e7f841ac3ccc1860409f918325203 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20D=C3=B6singer?= Date: Thu, 4 Jul 2013 21:10:16 +0200 Subject: wined3d: Send render target view clears through the command stream @@ -11,7 +11,7 @@ Subject: wined3d: Send render target view clears through the command stream 4 files changed, 55 insertions(+), 5 deletions(-) diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c -index 8e5be756654..88e0e44c4d3 100644 +index 7070895aa2..c3034c4909 100644 --- a/dlls/d3d9/tests/visual.c +++ b/dlls/d3d9/tests/visual.c @@ -1337,7 +1337,7 @@ static void color_fill_test(void) @@ -24,7 +24,7 @@ index 8e5be756654..88e0e44c4d3 100644 * supported as offscreen plain surfaces and do not support D3DUSAGE_RENDERTARGET * when created as texture. */ diff --git a/dlls/wined3d/cs.c b/dlls/wined3d/cs.c -index bf1b63b897b..b8c99985af4 100644 +index bf1b63b897..72e177a41e 100644 --- a/dlls/wined3d/cs.c +++ b/dlls/wined3d/cs.c @@ -68,6 +68,7 @@ enum wined3d_cs_op @@ -48,7 +48,7 @@ index bf1b63b897b..b8c99985af4 100644 + struct wined3d_color color; + float depth; + DWORD stencil; -+ const struct blit_shader *blitter; ++ const struct wined3d_blitter_ops *blitter; +}; + static void wined3d_cs_exec_sync(struct wined3d_cs *cs, const void *data) @@ -73,7 +73,7 @@ index bf1b63b897b..b8c99985af4 100644 + +void wined3d_cs_emit_clear_rtv(struct wined3d_cs *cs, struct wined3d_rendertarget_view *view, + const RECT *rect, DWORD flags, const struct wined3d_color *color, float depth, DWORD stencil, -+ const struct blit_shader *blitter) ++ const struct wined3d_blitter_ops *blitter) +{ + struct wined3d_cs_clear_rtv *op; + @@ -105,10 +105,10 @@ index bf1b63b897b..b8c99985af4 100644 static void *wined3d_cs_st_require_space(struct wined3d_cs *cs, size_t size) diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c -index c3a10a2d13a..728e5570777 100644 +index 500506d789..f1b90f5ee1 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c -@@ -4320,10 +4320,8 @@ HRESULT CDECL wined3d_device_clear_rendertarget_view(struct wined3d_device *devi +@@ -4328,10 +4328,8 @@ HRESULT CDECL wined3d_device_clear_rendertarget_view(struct wined3d_device *devi return WINED3DERR_INVALIDCALL; } @@ -122,16 +122,16 @@ index c3a10a2d13a..728e5570777 100644 struct wined3d_rendertarget_view * CDECL wined3d_device_get_rendertarget_view(const struct wined3d_device *device, diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h -index 8a07bb98523..f69cead4d1c 100644 +index ad72e10d7a..59b446167b 100644 --- a/dlls/wined3d/wined3d_private.h +++ b/dlls/wined3d/wined3d_private.h -@@ -3225,6 +3225,9 @@ void wined3d_cs_emit_blt_sub_resource(struct wined3d_cs *cs, struct wined3d_reso +@@ -3232,6 +3232,9 @@ void wined3d_cs_emit_blt_sub_resource(struct wined3d_cs *cs, struct wined3d_reso const struct wined3d_blt_fx *fx, enum wined3d_texture_filter_type filter) DECLSPEC_HIDDEN; void wined3d_cs_emit_clear(struct wined3d_cs *cs, DWORD rect_count, const RECT *rects, DWORD flags, const struct wined3d_color *color, float depth, DWORD stencil) DECLSPEC_HIDDEN; +void wined3d_cs_emit_clear_rtv(struct wined3d_cs *cs, struct wined3d_rendertarget_view *view, + const RECT *rect, DWORD flags, const struct wined3d_color *color, float depth, DWORD stencil, -+ const struct blit_shader *blitter) DECLSPEC_HIDDEN; ++ const struct wined3d_blitter_ops *blitter) DECLSPEC_HIDDEN; void wined3d_cs_emit_dispatch(struct wined3d_cs *cs, unsigned int group_count_x, unsigned int group_count_y, unsigned int group_count_z) DECLSPEC_HIDDEN; void wined3d_cs_emit_draw(struct wined3d_cs *cs, GLenum primitive_type, int base_vertex_idx, diff --git a/patches/wined3d-CSMT_Main/0011-wined3d-Send-update_texture-calls-through-the-CS.patch b/patches/wined3d-CSMT_Main/0011-wined3d-Send-update_texture-calls-through-the-CS.patch index 9380af63..de12d786 100644 --- a/patches/wined3d-CSMT_Main/0011-wined3d-Send-update_texture-calls-through-the-CS.patch +++ b/patches/wined3d-CSMT_Main/0011-wined3d-Send-update_texture-calls-through-the-CS.patch @@ -1,4 +1,4 @@ -From 8f9e2da3bc48abffee005b95c2b996352db2de16 Mon Sep 17 00:00:00 2001 +From 27c6d619ed9ad1090a5ee9724e25492f5d945de7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20D=C3=B6singer?= Date: Thu, 1 Aug 2013 00:33:48 +0200 Subject: wined3d: Send update_texture calls through the CS @@ -11,7 +11,7 @@ FIXME: This logic duplication is ugly. 3 files changed, 141 insertions(+), 75 deletions(-) diff --git a/dlls/wined3d/cs.c b/dlls/wined3d/cs.c -index b8c99985af4..bbea6bbb454 100644 +index 72e177a41e..82dbe684e2 100644 --- a/dlls/wined3d/cs.c +++ b/dlls/wined3d/cs.c @@ -69,6 +69,7 @@ enum wined3d_cs_op @@ -23,7 +23,7 @@ index b8c99985af4..bbea6bbb454 100644 struct wined3d_cs_sync @@ -404,6 +405,12 @@ struct wined3d_cs_clear_rtv - const struct blit_shader *blitter; + const struct wined3d_blitter_ops *blitter; }; +struct wined3d_cs_update_texture @@ -80,10 +80,10 @@ index b8c99985af4..bbea6bbb454 100644 static void *wined3d_cs_st_require_space(struct wined3d_cs *cs, size_t size) diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c -index 364eac4411e..d0e1fe6e9d7 100644 +index 1805cd71a8..0192552a14 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c -@@ -3659,34 +3659,17 @@ void CDECL wined3d_device_draw_indexed_primitive_instanced(struct wined3d_device +@@ -3667,34 +3667,17 @@ void CDECL wined3d_device_draw_indexed_primitive_instanced(struct wined3d_device start_idx, index_count, start_instance, instance_count, TRUE); } @@ -122,7 +122,7 @@ index 364eac4411e..d0e1fe6e9d7 100644 /* Only a prepare, since we're uploading entire volumes. */ wined3d_texture_prepare_texture(dst_texture, context, FALSE); -@@ -3694,32 +3677,89 @@ static HRESULT wined3d_device_update_texture_3d(struct wined3d_device *device, +@@ -3702,32 +3685,89 @@ static HRESULT wined3d_device_update_texture_3d(struct wined3d_device *device, for (i = 0; i < level_count; ++i) { @@ -222,7 +222,7 @@ index 364eac4411e..d0e1fe6e9d7 100644 TRACE("device %p, src_texture %p, dst_texture %p.\n", device, src_texture, dst_texture); -@@ -3756,63 +3796,48 @@ HRESULT CDECL wined3d_device_update_texture(struct wined3d_device *device, +@@ -3764,63 +3804,48 @@ HRESULT CDECL wined3d_device_update_texture(struct wined3d_device *device, return WINED3DERR_INVALIDCALL; } @@ -316,10 +316,10 @@ index 364eac4411e..d0e1fe6e9d7 100644 HRESULT CDECL wined3d_device_validate_device(const struct wined3d_device *device, DWORD *num_passes) diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h -index f69cead4d1c..fcefe12d226 100644 +index 59b446167b..7026544526 100644 --- a/dlls/wined3d/wined3d_private.h +++ b/dlls/wined3d/wined3d_private.h -@@ -2703,6 +2703,8 @@ LRESULT device_process_message(struct wined3d_device *device, HWND window, BOOL +@@ -2709,6 +2709,8 @@ LRESULT device_process_message(struct wined3d_device *device, HWND window, BOOL void device_resource_add(struct wined3d_device *device, struct wined3d_resource *resource) DECLSPEC_HIDDEN; void device_resource_released(struct wined3d_device *device, struct wined3d_resource *resource) DECLSPEC_HIDDEN; void device_invalidate_state(const struct wined3d_device *device, DWORD state) DECLSPEC_HIDDEN; @@ -328,7 +328,7 @@ index f69cead4d1c..fcefe12d226 100644 static inline BOOL isStateDirty(const struct wined3d_context *context, DWORD state) { -@@ -3292,6 +3294,8 @@ void wined3d_cs_emit_unload_resource(struct wined3d_cs *cs, struct wined3d_resou +@@ -3299,6 +3301,8 @@ void wined3d_cs_emit_unload_resource(struct wined3d_cs *cs, struct wined3d_resou void wined3d_cs_emit_update_sub_resource(struct wined3d_cs *cs, struct wined3d_resource *resource, unsigned int sub_resource_idx, const struct wined3d_box *box, const void *data, unsigned int row_pitch, unsigned int slice_pitch) DECLSPEC_HIDDEN; diff --git a/patches/wined3d-CSMT_Main/0024-wined3d-Avoid-destroying-views-in-color-and-depth-fi.patch b/patches/wined3d-CSMT_Main/0024-wined3d-Avoid-destroying-views-in-color-and-depth-fi.patch index 6352a565..f9568dce 100644 --- a/patches/wined3d-CSMT_Main/0024-wined3d-Avoid-destroying-views-in-color-and-depth-fi.patch +++ b/patches/wined3d-CSMT_Main/0024-wined3d-Avoid-destroying-views-in-color-and-depth-fi.patch @@ -1,4 +1,4 @@ -From 87fa7de2951f6de25293783ffe157f29cf18c1d7 Mon Sep 17 00:00:00 2001 +From 3d5c666305162466d808a7f8c8940264c9af019c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20D=C3=B6singer?= Date: Thu, 7 Apr 2016 20:04:17 +0100 Subject: wined3d: Avoid destroying views in color and depth fills. @@ -8,20 +8,20 @@ Subject: wined3d: Avoid destroying views in color and depth fills. 1 file changed, 22 insertions(+), 32 deletions(-) diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c -index 8d8142204ca..cc70506d803 100644 +index 24c8941ed7..5169cd8cea 100644 --- a/dlls/wined3d/surface.c +++ b/dlls/wined3d/surface.c -@@ -676,8 +676,7 @@ static HRESULT wined3d_surface_depth_fill(struct wined3d_surface *surface, const - { +@@ -548,8 +548,7 @@ static HRESULT wined3d_surface_depth_fill(struct wined3d_surface *surface, const struct wined3d_resource *resource = &surface->container->resource; struct wined3d_device *device = resource->device; + const struct wined3d_blitter_ops *blitter; - struct wined3d_rendertarget_view *view; - struct wined3d_view_desc view_desc; + struct wined3d_rendertarget_view view; - const struct blit_shader *blitter; HRESULT hr; -@@ -688,21 +687,17 @@ static HRESULT wined3d_surface_depth_fill(struct wined3d_surface *surface, const + if (!(blitter = wined3d_select_blitter(&device->adapter->gl_info, &device->adapter->d3d_info, +@@ -559,21 +558,17 @@ static HRESULT wined3d_surface_depth_fill(struct wined3d_surface *surface, const return WINED3DERR_INVALIDCALL; } @@ -53,17 +53,17 @@ index 8d8142204ca..cc70506d803 100644 return hr; } -@@ -2481,8 +2476,7 @@ HRESULT surface_color_fill(struct wined3d_surface *s, const RECT *rect, const st - { +@@ -2259,8 +2254,7 @@ HRESULT surface_color_fill(struct wined3d_surface *s, const RECT *rect, const st struct wined3d_resource *resource = &s->container->resource; struct wined3d_device *device = resource->device; + const struct wined3d_blitter_ops *blitter; - struct wined3d_rendertarget_view *view; - struct wined3d_view_desc view_desc; + struct wined3d_rendertarget_view view; - const struct blit_shader *blitter; HRESULT hr; -@@ -2493,21 +2487,17 @@ HRESULT surface_color_fill(struct wined3d_surface *s, const RECT *rect, const st + if (!(blitter = wined3d_select_blitter(&device->adapter->gl_info, &device->adapter->d3d_info, +@@ -2270,21 +2264,17 @@ HRESULT surface_color_fill(struct wined3d_surface *s, const RECT *rect, const st return WINED3DERR_INVALIDCALL; } diff --git a/patches/wined3d-CSMT_Main/9999-IfDefined.patch b/patches/wined3d-CSMT_Main/9999-IfDefined.patch index c77dd59d..2b5852ea 100644 --- a/patches/wined3d-CSMT_Main/9999-IfDefined.patch +++ b/patches/wined3d-CSMT_Main/9999-IfDefined.patch @@ -178,7 +178,7 @@ diff --git a/dlls/wined3d/cs.c b/dlls/wined3d/cs.c + struct wined3d_color color; + float depth; + DWORD stencil; -+ const struct blit_shader *blitter; ++ const struct wined3d_blitter_ops *blitter; +}; + +struct wined3d_cs_update_texture @@ -1884,7 +1884,7 @@ diff --git a/dlls/wined3d/cs.c b/dlls/wined3d/cs.c + +void wined3d_cs_emit_clear_rtv(struct wined3d_cs *cs, struct wined3d_rendertarget_view *view, + const RECT *rect, DWORD flags, const struct wined3d_color *color, float depth, DWORD stencil, -+ const struct blit_shader *blitter) ++ const struct wined3d_blitter_ops *blitter) +{ + struct wined3d_cs_clear_rtv *op; + @@ -2964,19 +2964,19 @@ diff --git a/dlls/wined3d/resource.c b/dlls/wined3d/resource.c diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c --- a/dlls/wined3d/surface.c +++ b/dlls/wined3d/surface.c -@@ -547,8 +547,12 @@ static HRESULT wined3d_surface_depth_fill(struct wined3d_surface *surface, const - { +@@ -548,8 +548,12 @@ static HRESULT wined3d_surface_depth_fill(struct wined3d_surface *surface, const struct wined3d_resource *resource = &surface->container->resource; struct wined3d_device *device = resource->device; + const struct wined3d_blitter_ops *blitter; +#if !defined(STAGING_CSMT) struct wined3d_rendertarget_view *view; struct wined3d_view_desc view_desc; +#else /* STAGING_CSMT */ + struct wined3d_rendertarget_view view; +#endif /* STAGING_CSMT */ - const struct blit_shader *blitter; HRESULT hr; + if (!(blitter = wined3d_select_blitter(&device->adapter->gl_info, &device->adapter->d3d_info, @@ -559,6 +563,7 @@ static HRESULT wined3d_surface_depth_fill(struct wined3d_surface *surface, const return WINED3DERR_INVALIDCALL; } @@ -3005,19 +3005,19 @@ diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c return hr; } -@@ -2258,8 +2276,12 @@ HRESULT surface_color_fill(struct wined3d_surface *s, const RECT *rect, const st - { +@@ -2259,8 +2277,12 @@ HRESULT surface_color_fill(struct wined3d_surface *s, const RECT *rect, const st struct wined3d_resource *resource = &s->container->resource; struct wined3d_device *device = resource->device; + const struct wined3d_blitter_ops *blitter; +#if !defined(STAGING_CSMT) struct wined3d_rendertarget_view *view; struct wined3d_view_desc view_desc; +#else /* STAGING_CSMT */ + struct wined3d_rendertarget_view view; +#endif /* STAGING_CSMT */ - const struct blit_shader *blitter; HRESULT hr; + if (!(blitter = wined3d_select_blitter(&device->adapter->gl_info, &device->adapter->d3d_info, @@ -2270,6 +2292,7 @@ HRESULT surface_color_fill(struct wined3d_surface *s, const RECT *rect, const st return WINED3DERR_INVALIDCALL; } @@ -3084,7 +3084,7 @@ diff --git a/dlls/wined3d/swapchain.c b/dlls/wined3d/swapchain.c swapchain_cleanup(swapchain); swapchain->parent_ops->wined3d_object_destroyed(swapchain->parent); HeapFree(GetProcessHeap(), 0, swapchain); -@@ -539,7 +548,11 @@ static void swapchain_gl_present(struct wined3d_swapchain *swapchain, +@@ -525,7 +534,11 @@ static void swapchain_gl_present(struct wined3d_swapchain *swapchain, swapchain_blit(swapchain, context, src_rect, dst_rect); } @@ -3096,7 +3096,7 @@ diff --git a/dlls/wined3d/swapchain.c b/dlls/wined3d/swapchain.c gl_info->gl_ops.gl.p_glFinish(); /* call wglSwapBuffers through the gl table to avoid confusing the Steam overlay */ -@@ -919,6 +932,9 @@ static HRESULT swapchain_init(struct wined3d_swapchain *swapchain, struct wined3 +@@ -905,6 +918,9 @@ static HRESULT swapchain_init(struct wined3d_swapchain *swapchain, struct wined3 } wined3d_cs_init_object(device->cs, wined3d_swapchain_cs_init, swapchain); @@ -3106,7 +3106,7 @@ diff --git a/dlls/wined3d/swapchain.c b/dlls/wined3d/swapchain.c if (!swapchain->context[0]) { -@@ -1059,6 +1075,10 @@ static struct wined3d_context *swapchain_create_context(struct wined3d_swapchain +@@ -1045,6 +1061,10 @@ static struct wined3d_context *swapchain_create_context(struct wined3d_swapchain TRACE("Creating a new context for swapchain %p, thread %u.\n", swapchain, GetCurrentThreadId()); @@ -3117,7 +3117,7 @@ diff --git a/dlls/wined3d/swapchain.c b/dlls/wined3d/swapchain.c if (!(ctx = context_create(swapchain, swapchain->front_buffer, swapchain->ds_format))) { ERR("Failed to create a new context for the swapchain\n"); -@@ -1245,6 +1265,9 @@ HRESULT CDECL wined3d_swapchain_resize_buffers(struct wined3d_swapchain *swapcha +@@ -1231,6 +1251,9 @@ HRESULT CDECL wined3d_swapchain_resize_buffers(struct wined3d_swapchain *swapcha enum wined3d_multisample_type multisample_type, unsigned int multisample_quality) { BOOL update_desc = FALSE; @@ -3127,7 +3127,7 @@ diff --git a/dlls/wined3d/swapchain.c b/dlls/wined3d/swapchain.c TRACE("swapchain %p, buffer_count %u, width %u, height %u, format %s, " "multisample_type %#x, multisample_quality %#x.\n", -@@ -1256,6 +1279,10 @@ HRESULT CDECL wined3d_swapchain_resize_buffers(struct wined3d_swapchain *swapcha +@@ -1242,6 +1265,10 @@ HRESULT CDECL wined3d_swapchain_resize_buffers(struct wined3d_swapchain *swapcha if (buffer_count && buffer_count != swapchain->desc.backbuffer_count) FIXME("Cannot change the back buffer count yet.\n"); @@ -3462,7 +3462,7 @@ diff --git a/dlls/wined3d/texture.c b/dlls/wined3d/texture.c diff --git a/dlls/wined3d/view.c b/dlls/wined3d/view.c --- a/dlls/wined3d/view.c +++ b/dlls/wined3d/view.c -@@ -594,6 +594,10 @@ static void wined3d_shader_resource_view_cs_init(void *object) +@@ -596,6 +596,10 @@ static void wined3d_shader_resource_view_cs_init(void *object) debug_d3dformat(resource->format->id), debug_d3dformat(view_format->id)); } } @@ -3473,7 +3473,7 @@ diff --git a/dlls/wined3d/view.c b/dlls/wined3d/view.c } static HRESULT wined3d_shader_resource_view_init(struct wined3d_shader_resource_view *view, -@@ -610,6 +614,9 @@ static HRESULT wined3d_shader_resource_view_init(struct wined3d_shader_resource_ +@@ -612,6 +616,9 @@ static HRESULT wined3d_shader_resource_view_init(struct wined3d_shader_resource_ wined3d_resource_incref(view->resource = resource); @@ -3483,7 +3483,7 @@ diff --git a/dlls/wined3d/view.c b/dlls/wined3d/view.c wined3d_cs_init_object(resource->device->cs, wined3d_shader_resource_view_cs_init, view); return WINED3D_OK; -@@ -791,6 +798,10 @@ static void wined3d_unordered_access_view_cs_init(void *object) +@@ -793,6 +800,10 @@ static void wined3d_unordered_access_view_cs_init(void *object) desc, texture, view->format); } } @@ -3494,7 +3494,7 @@ diff --git a/dlls/wined3d/view.c b/dlls/wined3d/view.c } static HRESULT wined3d_unordered_access_view_init(struct wined3d_unordered_access_view *view, -@@ -810,6 +821,9 @@ static HRESULT wined3d_unordered_access_view_init(struct wined3d_unordered_acces +@@ -812,6 +823,9 @@ static HRESULT wined3d_unordered_access_view_init(struct wined3d_unordered_acces wined3d_resource_incref(view->resource = resource); @@ -3572,7 +3572,7 @@ diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h }; struct wined3d_timestamp_query -@@ -2602,6 +2612,16 @@ struct wined3d_state +@@ -2597,6 +2607,16 @@ struct wined3d_state struct wined3d_rasterizer_state *rasterizer_state; }; @@ -3589,7 +3589,7 @@ diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h #define WINED3D_UNMAPPED_STAGE ~0u /* Multithreaded flag. Removed from the public header to signal that -@@ -2714,6 +2734,14 @@ LRESULT device_process_message(struct wined3d_device *device, HWND window, BOOL +@@ -2709,6 +2729,14 @@ LRESULT device_process_message(struct wined3d_device *device, HWND window, BOOL void device_resource_add(struct wined3d_device *device, struct wined3d_resource *resource) DECLSPEC_HIDDEN; void device_resource_released(struct wined3d_device *device, struct wined3d_resource *resource) DECLSPEC_HIDDEN; void device_invalidate_state(const struct wined3d_device *device, DWORD state) DECLSPEC_HIDDEN; @@ -3604,7 +3604,7 @@ diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h static inline BOOL isStateDirty(const struct wined3d_context *context, DWORD state) { -@@ -2789,11 +2817,13 @@ static inline void wined3d_resource_release(struct wined3d_resource *resource) +@@ -2784,11 +2812,13 @@ static inline void wined3d_resource_release(struct wined3d_resource *resource) InterlockedDecrement(&resource->access_count); } @@ -3618,7 +3618,7 @@ diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h void resource_cleanup(struct wined3d_resource *resource) DECLSPEC_HIDDEN; HRESULT resource_init(struct wined3d_resource *resource, struct wined3d_device *device, enum wined3d_resource_type type, const struct wined3d_format *format, -@@ -2904,7 +2934,11 @@ struct wined3d_texture +@@ -2899,7 +2929,11 @@ struct wined3d_texture unsigned int map_count; DWORD locations; @@ -3630,7 +3630,7 @@ diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h } sub_resources[1]; }; -@@ -3207,6 +3241,7 @@ enum wined3d_push_constants +@@ -3202,6 +3236,7 @@ enum wined3d_push_constants WINED3D_PUSH_CONSTANTS_PS_B, }; @@ -3638,7 +3638,7 @@ diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h struct wined3d_cs_ops { void *(*require_space)(struct wined3d_cs *cs, size_t size); -@@ -3214,6 +3249,33 @@ struct wined3d_cs_ops +@@ -3209,6 +3244,33 @@ struct wined3d_cs_ops void (*push_constants)(struct wined3d_cs *cs, enum wined3d_push_constants p, unsigned int start_idx, unsigned int count, const void *constants); }; @@ -3672,7 +3672,7 @@ diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h struct wined3d_cs { -@@ -3224,8 +3286,31 @@ struct wined3d_cs +@@ -3219,8 +3281,31 @@ struct wined3d_cs size_t data_size, start, end; void *data; @@ -3704,14 +3704,14 @@ diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h struct wined3d_cs *wined3d_cs_create(struct wined3d_device *device) DECLSPEC_HIDDEN; void wined3d_cs_destroy(struct wined3d_cs *cs) DECLSPEC_HIDDEN; void wined3d_cs_destroy_object(struct wined3d_cs *cs, -@@ -3236,15 +3321,30 @@ void wined3d_cs_emit_blt_sub_resource(struct wined3d_cs *cs, struct wined3d_reso +@@ -3231,15 +3316,30 @@ void wined3d_cs_emit_blt_sub_resource(struct wined3d_cs *cs, struct wined3d_reso const struct wined3d_blt_fx *fx, enum wined3d_texture_filter_type filter) DECLSPEC_HIDDEN; void wined3d_cs_emit_clear(struct wined3d_cs *cs, DWORD rect_count, const RECT *rects, DWORD flags, const struct wined3d_color *color, float depth, DWORD stencil) DECLSPEC_HIDDEN; +#if defined(STAGING_CSMT) +void wined3d_cs_emit_clear_rtv(struct wined3d_cs *cs, struct wined3d_rendertarget_view *view, + const RECT *rect, DWORD flags, const struct wined3d_color *color, float depth, DWORD stencil, -+ const struct blit_shader *blitter) DECLSPEC_HIDDEN; ++ const struct wined3d_blitter_ops *blitter) DECLSPEC_HIDDEN; +#endif /* STAGING_CSMT */ void wined3d_cs_emit_dispatch(struct wined3d_cs *cs, unsigned int group_count_x, unsigned int group_count_y, unsigned int group_count_z) DECLSPEC_HIDDEN; @@ -3735,7 +3735,7 @@ diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h void wined3d_cs_emit_reset_state(struct wined3d_cs *cs) DECLSPEC_HIDDEN; void wined3d_cs_emit_set_clip_plane(struct wined3d_cs *cs, UINT plane_idx, const struct wined3d_vec4 *plane) DECLSPEC_HIDDEN; -@@ -3292,10 +3392,20 @@ void wined3d_cs_emit_set_unordered_access_view(struct wined3d_cs *cs, enum wined +@@ -3287,10 +3387,20 @@ void wined3d_cs_emit_set_unordered_access_view(struct wined3d_cs *cs, enum wined void wined3d_cs_emit_set_vertex_declaration(struct wined3d_cs *cs, struct wined3d_vertex_declaration *declaration) DECLSPEC_HIDDEN; void wined3d_cs_emit_set_viewport(struct wined3d_cs *cs, const struct wined3d_viewport *viewport) DECLSPEC_HIDDEN; @@ -3756,7 +3756,7 @@ diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h void wined3d_cs_init_object(struct wined3d_cs *cs, void (*callback)(void *object), void *object) DECLSPEC_HIDDEN; HRESULT wined3d_cs_map(struct wined3d_cs *cs, struct wined3d_resource *resource, unsigned int sub_resource_idx, -@@ -3303,12 +3413,14 @@ HRESULT wined3d_cs_map(struct wined3d_cs *cs, struct wined3d_resource *resource, +@@ -3298,12 +3408,14 @@ HRESULT wined3d_cs_map(struct wined3d_cs *cs, struct wined3d_resource *resource, HRESULT wined3d_cs_unmap(struct wined3d_cs *cs, struct wined3d_resource *resource, unsigned int sub_resource_idx) DECLSPEC_HIDDEN;