[KERNEL32] Improve a few NT6 stubs

This commit is contained in:
Timo Kreuzer 2023-08-12 08:54:16 +03:00
parent fec935ec24
commit 08629037ea

View File

@ -169,12 +169,12 @@
@ stdcall -version=0x600+ CreateSymbolicLinkW(wstr wstr long)
@ stdcall CreateTapePartition(long long long long)
@ stdcall CreateThread(ptr long ptr long long ptr)
@ stub -version=0x600+ CreateThreadpool
@ stub -version=0x600+ CreateThreadpoolCleanupGroup
@ stub -version=0x600+ CreateThreadpoolIo
@ stub -version=0x600+ CreateThreadpoolTimer
@ stub -version=0x600+ CreateThreadpoolWait
@ stub -version=0x600+ CreateThreadpoolWork
@ stdcall -stub -version=0x600+ CreateThreadpool(ptr)
@ stdcall -stub -version=0x600+ CreateThreadpoolCleanupGroup()
@ stdcall -stub -version=0x600+ CreateThreadpoolIo(ptr ptr ptr ptr)
@ stdcall -stub -version=0x600+ CreateThreadpoolTimer(ptr ptr ptr)
@ stdcall -stub -version=0x600+ CreateThreadpoolWait(ptr ptr ptr)
@ stdcall -stub -version=0x600+ CreateThreadpoolWork(ptr ptr ptr)
@ stdcall CreateTimerQueue()
@ stdcall CreateTimerQueueTimer(ptr long ptr ptr long long long)
@ stdcall CreateToolhelp32Snapshot(long long)
@ -202,7 +202,7 @@
@ stub -version=0x600+ DeleteFileTransactedA
@ stub -version=0x600+ DeleteFileTransactedW
@ stdcall DeleteFileW(wstr)
@ stub -version=0x600+ DeleteProcThreadAttributeList
@ stdcall -stub -version=0x600+ DeleteProcThreadAttributeList(ptr)
@ stdcall DeleteTimerQueue(long)
@ stdcall DeleteTimerQueueEx(long long)
@ stdcall DeleteTimerQueueTimer(long long long)
@ -418,7 +418,7 @@
@ stdcall GetConsoleOutputCP()
@ stdcall GetConsoleProcessList(ptr long) ; missing in XP SP3
@ stdcall GetConsoleScreenBufferInfo(long ptr)
@ stub -version=0x600+ GetConsoleScreenBufferInfoEx
@ stdcall -stub -version=0x600+ GetConsoleScreenBufferInfoEx(ptr ptr)
@ stdcall GetConsoleSelectionInfo(ptr)
@ stdcall GetConsoleTitleA(ptr long)
@ stdcall GetConsoleTitleW(ptr long)
@ -544,7 +544,7 @@
@ stdcall GetNumberOfConsoleMouseButtons(ptr)
@ stdcall GetOEMCP()
@ stdcall GetOverlappedResult(long ptr ptr long)
@ stub -version=0x600+ GetPhysicallyInstalledSystemMemory
@ stdcall -stub -version=0x600+ GetPhysicallyInstalledSystemMemory(ptr)
@ stdcall GetPriorityClass(long)
@ stdcall GetPrivateProfileIntA(str str long str)
@ stdcall GetPrivateProfileIntW(wstr wstr long wstr)
@ -593,7 +593,7 @@
@ stub -version=0x600+ GetSystemDEPPolicy
@ stdcall GetSystemDefaultLCID()
@ stdcall GetSystemDefaultLangID()
@ stub -version=0x600+ GetSystemDefaultLocaleName
@ stdcall -stub -version=0x600+ GetSystemDefaultLocaleName(ptr long)
@ stdcall GetSystemDefaultUILanguage()
@ stdcall GetSystemDirectoryA(ptr long)
@ stdcall GetSystemDirectoryW(ptr long)
@ -620,7 +620,7 @@
@ stdcall GetTempPathA(long ptr)
@ stdcall GetTempPathW(long ptr)
@ stdcall GetThreadContext(long ptr)
@ stub -version=0x600+ GetThreadErrorMode
@ stdcall -stub -version=0x600+ GetThreadErrorMode()
@ stdcall GetThreadIOPendingFlag(long ptr)
@ stdcall GetThreadId(ptr)
@ stdcall GetThreadLocale()
@ -636,7 +636,7 @@
@ stdcall -version=0x600+ GetTimeFormatEx(wstr long ptr wstr wstr long)
@ stdcall GetTimeFormatW(long long ptr wstr ptr long)
@ stdcall GetTimeZoneInformation(ptr)
@ stub -version=0x600+ GetTimeZoneInformationForYear
@ stdcall -stub -version=0x600+ GetTimeZoneInformationForYear(long ptr ptr)
@ stdcall -version=0x600+ GetUILanguageInfo(long wstr wstr ptr ptr)
@ stdcall GetUserDefaultLCID()
@ stdcall GetUserDefaultLangID()
@ -704,19 +704,19 @@
@ stdcall -version=0x351-0x502 HeapUsage(long long long long ptr)
@ stdcall HeapValidate(long long ptr)
@ stdcall HeapWalk(long ptr)
@ stub -version=0x600+ IdnToAscii
@ stub -version=0x600+ IdnToNameprepUnicode
@ stub -version=0x600+ IdnToUnicode
@ stdcall -stub -version=0x600+ IdnToAscii(long wstr long ptr long)
@ stdcall -stub -version=0x600+ IdnToNameprepUnicode(long wstr long ptr long)
@ stdcall -stub -version=0x600+ IdnToUnicode(long wstr long ptr long)
@ stdcall InitAtomTable(long)
@ stub -version=0x600+ InitOnceBeginInitialize
@ stub -version=0x600+ InitOnceComplete
@ stdcall -stub -version=0x600+ InitOnceBeginInitialize(ptr long ptr ptr)
@ stdcall -stub -version=0x600+ InitOnceComplete(ptr long ptr)
@ stdcall -version=0x600+ InitOnceExecuteOnce(ptr ptr ptr ptr)
@ stub -version=0x600+ InitOnceInitialize
@ stdcall -stub -version=0x600+ InitOnceInitialize(ptr)
@ stdcall -version=0x600+ InitializeConditionVariable(ptr) ntdll.RtlInitializeConditionVariable
@ stdcall InitializeCriticalSection(ptr)
@ stdcall InitializeCriticalSectionAndSpinCount(ptr long)
@ stdcall -version=0x600+ InitializeCriticalSectionEx(ptr long long)
@ stub -version=0x600+ InitializeProcThreadAttributeList
@ stdcall -stub -version=0x600+ InitializeProcThreadAttributeList(ptr long long ptr)
@ stdcall InitializeSListHead(ptr) ntdll.RtlInitializeSListHead
@ stdcall -version=0x600+ InitializeSRWLock(ptr) ntdll.RtlInitializeSRWLock
@ stdcall -arch=i386 -ret64 InterlockedCompareExchange64(ptr double double) ntdll.RtlInterlockedCompareExchange64
@ -744,7 +744,7 @@
@ stdcall IsDBCSLeadByteEx(long long)
@ stdcall IsDebuggerPresent()
@ stdcall IsNLSDefinedString(long long ptr long long)
@ stub -version=0x600+ IsNormalizedString
@ stdcall -stub -version=0x600+ IsNormalizedString(long wstr long)
@ stdcall IsProcessInJob(long long ptr)
@ stdcall IsProcessorFeaturePresent(long)
@ stdcall IsSystemResumeAutomatic()
@ -826,8 +826,8 @@
@ stub -version=0x600+ NlsUpdateLocale
@ stub -version=0x600+ NlsUpdateSystemLocale
@ stub -version=0x600+ NlsWriteEtwEvent
@ stub -version=0x600+ NormalizeString
@ stub -version=0x600+ NotifyUILanguageChange
@ stdcall -stub -version=0x600+ NormalizeString(long wstr long ptr long)
@ stdcall -stub -version=0x600+ NotifyUILanguageChange(long wstr wstr long ptr)
@ stdcall OpenConsoleW(wstr long long long)
@ stdcall -version=0x500-0x502 OpenDataFile(long long)
@ stdcall OpenEventA(long long str)
@ -1072,7 +1072,7 @@
@ stdcall SetTermsrvAppInstallMode(long)
@ stdcall SetThreadAffinityMask(long long)
@ stdcall SetThreadContext(long ptr)
@ stub -version=0x600+ SetThreadErrorMode
@ stdcall -stub -version=0x600+ SetThreadErrorMode(long ptr)
@ stdcall SetThreadExecutionState(long)
@ stdcall SetThreadIdealProcessor(long long)
@ stdcall SetThreadLocale(long)
@ -1104,7 +1104,7 @@
@ stdcall -version=0x600+ SleepConditionVariableSRW(ptr ptr long long)
@ stdcall SleepEx(long long)
@ stub -version=0x600+ StartThreadpoolIo
@ stub -version=0x600+ SubmitThreadpoolWork
@ stdcall -stub -version=0x600+ SubmitThreadpoolWork(ptr)
@ stdcall SuspendThread(long)
@ stdcall SwitchToFiber(ptr)
@ stdcall SwitchToThread()
@ -1138,7 +1138,7 @@
@ stdcall UnregisterWait(long)
@ stdcall UnregisterWaitEx(long long)
@ stub -version=0x600+ UpdateCalendarDayOfWeek
@ stub -version=0x600+ UpdateProcThreadAttribute
@ stdcall -stub -version=0x600+ UpdateProcThreadAttribute(ptr long ptr ptr ptr ptr ptr)
@ stdcall UpdateResourceA(long str str long ptr long)
@ stdcall UpdateResourceW(long wstr wstr long ptr long)
@ stdcall VDMConsoleOperation(long long)
@ -1173,7 +1173,7 @@
@ stub -version=0x600+ WaitForThreadpoolIoCallbacks
@ stub -version=0x600+ WaitForThreadpoolTimerCallbacks
@ stub -version=0x600+ WaitForThreadpoolWaitCallbacks
@ stub -version=0x600+ WaitForThreadpoolWorkCallbacks
@ stdcall -stub -version=0x600+ WaitForThreadpoolWorkCallbacks(ptr long)
@ stdcall WaitNamedPipeA(str long)
@ stdcall WaitNamedPipeW(wstr long)
@ stdcall -version=0x600+ WakeAllConditionVariable(ptr) ntdll.RtlWakeAllConditionVariable