crt: Add missing APIs in kernel32.def
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: LIU Hao <lh_mouse@126.com>
diff --git a/mingw-w64-crt/lib-common/kernel32.def.in b/mingw-w64-crt/lib-common/kernel32.def.in
index f64ca31..36bed39 100644
--- a/mingw-w64-crt/lib-common/kernel32.def.in
+++ b/mingw-w64-crt/lib-common/kernel32.def.in
@@ -6,6 +6,7 @@
AcquireSRWLockShared
ActivateActCtx
ActivateActCtxWorker
+ActivatePackageVirtualizationContext
AddAtomA
AddAtomW
AddConsoleAliasA
@@ -117,6 +118,12 @@
BuildCommDCBAndTimeoutsA
BuildCommDCBAndTimeoutsW
BuildCommDCBW
+BuildIoRingCancelRequest
+BuildIoRingFlushFile
+BuildIoRingReadFile
+BuildIoRingRegisterBuffers
+BuildIoRingRegisterFileHandles
+BuildIoRingWriteFile
CallNamedPipeA
CallNamedPipeW
CallbackMayRunLong
@@ -144,6 +151,7 @@
ClearCommError
CloseConsoleHandle
CloseHandle
+CloseIoRing
ClosePackageInfo
ClosePrivateNamespace
CloseProfileUserMapping
@@ -220,6 +228,7 @@
CreateHardLinkTransactedW
CreateHardLinkW
CreateIoCompletionPort
+CreateIoRing
CreateJobObjectA
CreateJobObjectW
CreateJobSet
@@ -233,6 +242,7 @@
CreateNamedPipeA
CreateNamedPipeW
CreateNlsSecurityDescriptor
+CreatePackageVirtualizationContext
CreatePipe
CreatePrivateNamespaceA
CreatePrivateNamespaceW
@@ -274,6 +284,7 @@
CtrlRoutine
DeactivateActCtx
DeactivateActCtxWorker
+DeactivatePackageVirtualizationContext
DebugActiveProcess
DebugActiveProcessStop
DebugBreak
@@ -317,6 +328,8 @@
DuplicateConsoleHandle
DuplicateEncryptionInfoFileExt
DuplicateHandle
+DuplicatePackageVirtualizationContext
+EnableProcessOptionalXStateFeatures
EnableThreadProfiling
EncodePointer
EncodeSystemPointer
@@ -555,6 +568,7 @@
GetCurrentPackageId
GetCurrentPackageInfo
GetCurrentPackagePath
+GetCurrentPackageVirtualizationContext
GetCurrentProcess
GetCurrentProcessId
GetCurrentProcessorNumber
@@ -631,6 +645,7 @@
GetGeoInfoW
GetGeoInfoEx
GetHandleInformation
+GetIoRingInfo
GetLargePageMinimum
GetLargestConsoleWindowSize
GetLastError
@@ -648,6 +663,7 @@
GetLongPathNameTransactedA
GetLongPathNameTransactedW
GetLongPathNameW
+GetMachineTypeAttributes
GetMailslotInfo
GetMaximumProcessorCount
GetMaximumProcessorGroupCount
@@ -679,6 +695,7 @@
GetNumaHighestNodeNumber
GetNumaNodeNumberFromHandle
GetNumaNodeProcessorMask
+GetNumaNodeProcessorMask2
GetNumaNodeProcessorMaskEx
GetNumaProcessorNode
GetNumaProcessorNodeEx
@@ -715,6 +732,7 @@
GetPrivateProfileStructW
GetProcAddress
GetProcessAffinityMask
+GetProcessDefaultCpuSetMasks
GetProcessDefaultCpuSets
GetProcessDEPPolicy
GetProcessGroupAffinity
@@ -733,6 +751,7 @@
GetProcessVersion
GetProcessWorkingSetSize
GetProcessWorkingSetSizeEx
+GetProcessesInVirtualizationContext
GetProcessorSystemCycleTime
GetProductInfo
GetProfileIntA
@@ -790,6 +809,7 @@
GetTempPath2W
GetThreadContext
GetThreadDescription
+GetThreadEnabledXStateFeatures
GetThreadErrorMode
GetThreadGroupAffinity
GetThreadIOPendingFlag
@@ -800,6 +820,7 @@
GetThreadPreferredUILanguages
GetThreadPriority
GetThreadPriorityBoost
+GetThreadSelectedCpuSetMasks
GetThreadSelectedCpuSets
GetThreadSelectorEntry
GetThreadTimes
@@ -927,6 +948,7 @@
IsDBCSLeadByteEx
IsDebuggerPresent
IsEnclaveTypeSupported
+IsIoRingOpSupported
IsNLSDefinedString
IsNativeVhdBoot
IsNormalizedString
@@ -937,6 +959,7 @@
IsThreadAFiber
IsThreadpoolTimerSet
IsTimeZoneRedirectionEnabled
+IsUserCetAvailableInEnvironment
IsValidCalDateTime
IsValidCodePage
IsValidLanguageGroup
@@ -1098,6 +1121,7 @@
PeekConsoleInputA
PeekConsoleInputW
PeekNamedPipe
+PopIoRingCompletion
PostQueuedCompletionStatus
PowerClearRequest
PowerCreateRequest
@@ -1139,6 +1163,7 @@
QueryIdleProcessorCycleTimeEx
QueryInformationJobObject
QueryIoRateControlInformationJobObject
+QueryIoRingCapabilities
QueryMemoryResourceNotification
QueryPerformanceCounter
QueryPerformanceFrequency
@@ -1151,6 +1176,7 @@
F_X64(QueryUmsThreadInformation)
QueryUnbiasedInterruptTime
QueueUserAPC
+QueueUserAPC2
QueueUserWorkItem
QuirkGetData2Worker
QuirkGetDataWorker
@@ -1253,6 +1279,7 @@
ReleaseActCtxWorker
ReleaseMutex
ReleaseMutexWhenCallbackReturns
+ReleasePackageVirtualizationContext
ReleaseSRWLockExclusive
ReleaseSRWLockShared
ReleaseSemaphore
@@ -1289,6 +1316,7 @@
RtlDeleteFunctionTable
RtlFillMemory
RtlInstallFunctionTableCallback
+RtlIsEcCode
RtlLookupFunctionEntry
RtlMoveMemory
RtlPcToFileHeader
@@ -1297,6 +1325,7 @@
RtlUnwind
RtlUnwindEx
RtlVirtualUnwind
+RtlVirtualUnwind2
RtlZeroMemory
ScrollConsoleScreenBufferA
ScrollConsoleScreenBufferW
@@ -1392,6 +1421,7 @@
SetHandleInformation
SetInformationJobObject
SetIoRateControlInformationJobObject
+SetIoRingCompletionEvent
SetLastConsoleEventActive
SetLastError
SetLocalPrimaryComputerNameA
@@ -1407,7 +1437,10 @@
SetProcessAffinityMask
SetProcessAffinityUpdateMode
SetProcessDEPPolicy
+SetProcessDefaultCpuSetMasks
SetProcessDefaultCpuSets
+SetProcessDynamicEHContinuationTargets
+SetProcessDynamicEnforcedCetCompatibleRanges
SetProcessInformation
SetProcessMitigationPolicy
SetProcessPreferredUILanguages
@@ -1439,6 +1472,7 @@
SetThreadPreferredUILanguages
SetThreadPriority
SetThreadPriorityBoost
+SetThreadSelectedCpuSetMasks
SetThreadSelectedCpuSets
SetThreadStackGuarantee
; MSDN says this is exported from ADVAPI32.DLL.
@@ -1477,6 +1511,7 @@
SortCloseHandle
SortGetHandle
StartThreadpoolIo
+SubmitIoRing
SubmitThreadpoolWork
SuspendThread
SwitchToFiber