crt: Add new APIs in kernel32 import library
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 f46a432..2b7fffc 100644
--- a/mingw-w64-crt/lib-common/kernel32.def.in
+++ b/mingw-w64-crt/lib-common/kernel32.def.in
@@ -25,6 +25,7 @@
AddVectoredExceptionHandler
AdjustCalendarDate
AllocConsole
+AllocConsoleWithOptions
AllocateUserPhysicalPages
AllocateUserPhysicalPagesNuma
AppPolicyGetClrCompat
@@ -447,6 +448,7 @@
FlsAlloc
FlsFree
FlsGetValue
+FlsGetValue2
FlsSetValue
FlushConsoleInputBuffer
FlushFileBuffers
@@ -626,6 +628,7 @@
GetFileBandwidthReservation
GetFileInformationByHandle
GetFileInformationByHandleEx
+GetFileInformationByName
GetFileMUIInfo
GetFileMUIPath
GetFileSize
@@ -1282,6 +1285,7 @@
ReleaseMutex
ReleaseMutexWhenCallbackReturns
ReleasePackageVirtualizationContext
+ReleasePseudoConsole
ReleaseSRWLockExclusive
ReleaseSRWLockShared
ReleaseSemaphore
@@ -1543,6 +1547,7 @@
TlsAlloc
TlsFree
TlsGetValue
+TlsGetValue2
TlsSetValue
Toolhelp32ReadProcessMemory
TransactNamedPipe
diff --git a/mingw-w64-crt/lib32/kernel32.def b/mingw-w64-crt/lib32/kernel32.def
index e5a8dc4..51582f2 100644
--- a/mingw-w64-crt/lib32/kernel32.def
+++ b/mingw-w64-crt/lib32/kernel32.def
@@ -30,6 +30,7 @@
AddVectoredExceptionHandler@8
AdjustCalendarDate@12
AllocConsole@0
+AllocConsoleWithOptions@8
AllocateUserPhysicalPages@12
AllocateUserPhysicalPagesNuma@16
AppPolicyGetClrCompat@8
@@ -440,6 +441,7 @@
FindVolumeMountPointClose@4
FlsAlloc@4
FlsFree@4
+FlsGetValue2@4
FlsGetValue@4
FlsSetValue@8
FlushConsoleInputBuffer@4
@@ -616,6 +618,7 @@
GetFileBandwidthReservation@24
GetFileInformationByHandle@8
GetFileInformationByHandleEx@16
+GetFileInformationByName@16
GetFileMUIInfo@16
GetFileMUIPath@28
GetFileSize@8
@@ -1270,6 +1273,7 @@
ReleaseMutex@4
ReleaseMutexWhenCallbackReturns@8
ReleasePackageVirtualizationContext@4
+ReleasePseudoConsole@4
ReleaseSRWLockExclusive@4
ReleaseSRWLockShared@4
ReleaseSemaphore@12
@@ -1518,6 +1522,7 @@
Thread32Next@8
TlsAlloc@0
TlsFree@4
+TlsGetValue2@4
TlsGetValue@4
TlsSetValue@8
Toolhelp32ReadProcessMemory@20
@@ -1605,7 +1610,7 @@
WerSetFlags@4
WerSetFlagsWorker@4
WerUnregisterAdditionalProcess@4
-WerUnregisterAppLocalDump
+WerUnregisterAppLocalDump@0
WerUnregisterCustomMetadata@4
WerUnregisterExcludedMemoryBlock@4
WerUnregisterFile@4