[PATCH] crt/lib-common: Add more kernel32 exported functions
From 50289418f4f78c5513ca7b1b5b4efe9c8dff31dd Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath <nathbap...@gmail.com> Date: Fri, 25 Jan 2019 00:22:41 +0530 Subject: [PATCH] crt/lib-common: Add more kernel32 exported functions
Signed-off-by: Biswapriyo Nath <nathbap...@gmail.com> --- mingw-w64-crt/lib-common/kernel32.def.in | 67 +++++++++++++++++++++++- 1 file changed, 65 insertions(+), 2 deletions(-) diff --git a/mingw-w64-crt/lib-common/kernel32.def.in b/mingw-w64-crt/lib-common/kernel32.def.in index 5a0c5d98..2bc9302c 100644 --- a/mingw-w64-crt/lib-common/kernel32.def.in +++ b/mingw-w64-crt/lib-common/kernel32.def.in @@ -26,6 +26,14 @@ AdjustCalendarDate AllocConsole AllocateUserPhysicalPages AllocateUserPhysicalPagesNuma +AppPolicyGetClrCompat +AppPolicyGetCreateFileAccess +AppPolicyGetLifecycleManagement +AppPolicyGetMediaFoundationCodecLoading +AppPolicyGetProcessTerminationMethod +AppPolicyGetShowDeveloperDiagnostic +AppPolicyGetThreadInitializationType +AppPolicyGetWindowingModel AppXGetOSMaxVersionTested ApplicationRecoveryFinished ApplicationRecoveryInProgress @@ -88,12 +96,14 @@ BasepFreeAppCompatData BasepGetAppCompatData BasepGetComputerNameFromNtPath BasepGetExeArchType +BasepInitAppCompatData BasepIsProcessAllowed BasepMapModuleHandle BasepNotifyLoadStringResource BasepPostSuccessAppXExtension BasepProcessInvalidImage BasepQueryAppCompat +BasepQueryModuleChpeSettings BasepReleaseAppXContext BasepReleaseSxsCreateProcessUtilityStruct BasepReportFault @@ -136,6 +146,7 @@ CloseHandle ClosePackageInfo ClosePrivateNamespace CloseProfileUserMapping +ClosePseudoConsole CloseState CloseThreadpool CloseThreadpoolCleanupGroup @@ -186,6 +197,7 @@ CreateDirectoryExW CreateDirectoryTransactedA CreateDirectoryTransactedW CreateDirectoryW +CreateEnclave CreateEventA CreateEventExA CreateEventExW @@ -224,10 +236,12 @@ CreatePipe CreatePrivateNamespaceA CreatePrivateNamespaceW CreateProcessA +CreateProcessAsUserA CreateProcessAsUserW CreateProcessInternalA CreateProcessInternalW CreateProcessW +CreatePseudoConsole CreateRemoteThread CreateRemoteThreadEx CreateSemaphoreA @@ -337,6 +351,7 @@ EnumSystemCodePagesA EnumSystemCodePagesW EnumSystemFirmwareTables EnumSystemGeoID +EnumSystemGeoNames EnumSystemLanguageGroupsA EnumSystemLanguageGroupsW EnumSystemLocalesA @@ -432,6 +447,7 @@ FreeEnvironmentStringsW FreeLibrary FreeLibraryAndExitThread FreeLibraryWhenCallbackReturns +FreeMemoryJobObject FreeResource FreeUserPhysicalPages GenerateConsoleCtrlEvent @@ -558,6 +574,8 @@ GetDiskFreeSpaceA GetDiskFreeSpaceExA GetDiskFreeSpaceExW GetDiskFreeSpaceW +GetDiskSpaceInformationA +GetDiskSpaceInformationW GetDllDirectoryA GetDllDirectoryW GetDriveTypeA @@ -566,6 +584,7 @@ GetDurationFormat GetDurationFormatEx GetDynamicTimeZoneInformation GetEnabledExtendedFeatures +GetEnabledXStateFeatures GetEncryptedFileVersionExt GetEnvironmentStrings GetEnvironmentStringsA @@ -608,6 +627,7 @@ GetFullPathNameTransactedW GetFullPathNameW GetGeoInfoA GetGeoInfoW +GetGeoInfoEx GetHandleInformation GetLargePageMinimum GetLargestConsoleWindowSize @@ -693,6 +713,7 @@ GetPrivateProfileStructA GetPrivateProfileStructW GetProcAddress GetProcessAffinityMask +GetProcessDefaultCpuSets GetProcessDEPPolicy GetProcessGroupAffinity GetProcessHandleCount @@ -733,6 +754,7 @@ GetStringTypeExA GetStringTypeExW GetStringTypeW GetSystemAppDataKey +GetSystemCpuSetInformation GetSystemDEPPolicy GetSystemDefaultLCID GetSystemDefaultLangID @@ -763,6 +785,7 @@ GetTempFileNameW GetTempPathA GetTempPathW GetThreadContext +GetThreadDescription GetThreadErrorMode GetThreadGroupAffinity GetThreadIOPendingFlag @@ -773,6 +796,7 @@ GetThreadLocale GetThreadPreferredUILanguages GetThreadPriority GetThreadPriorityBoost +GetThreadSelectedCpuSets GetThreadSelectorEntry GetThreadTimes GetThreadUILanguage @@ -787,6 +811,8 @@ GetTimeZoneInformation GetTimeZoneInformationForYear GetUILanguageInfo F_X64(GetUmsCompletionListEvent) +GetUmsSystemThreadInformation +GetUserDefaultGeoName GetUserDefaultLCID GetUserDefaultLangID GetUserDefaultLocaleName @@ -809,6 +835,7 @@ GetVolumePathNamesForVolumeNameW GetWindowsDirectoryA GetWindowsDirectoryW GetWriteWatch +GetXStateFeaturesMask GlobalAddAtomA GlobalAddAtomExA GlobalAddAtomExW @@ -859,17 +886,17 @@ IdnToAscii IdnToNameprepUnicode IdnToUnicode InitAtomTable -InitializeConditionVariable -InitializeCriticalSection InitOnceBeginInitialize InitOnceComplete InitOnceExecuteOnce InitOnceInitialize InitializeConditionVariable InitializeContext +InitializeContext2 InitializeCriticalSection InitializeCriticalSectionAndSpinCount InitializeCriticalSectionEx +InitializeEnclave InitializeExtendedContext InitializeProcThreadAttributeList InitializeSListHead @@ -895,6 +922,7 @@ IsCalendarLeapYear IsDBCSLeadByte IsDBCSLeadByteEx IsDebuggerPresent +IsEnclaveTypeSupported IsNLSDefinedString IsNativeVhdBoot IsNormalizedString @@ -912,7 +940,9 @@ IsValidLocale IsValidUILanguage IsValidLocaleName IsValidNLSVersion +IsWow64GuestMachineSupported IsWow64Process +IsWow64Process2 K32EmptyWorkingSet K32EnumDeviceDrivers K32EnumPageFilesA @@ -958,6 +988,7 @@ LZStart LeaveCriticalSection LeaveCriticalSectionWhenCallbackReturns LoadAppInitDlls +LoadEnclaveData LoadLibraryA LoadLibraryExA LoadLibraryExW @@ -970,6 +1001,7 @@ LoadStringBaseW LocalAlloc LocalCompact LocalFileTimeToFileTime +LocalFileTimeToLocalSystemTime LocalFlags LocalFree LocalHandle @@ -977,10 +1009,12 @@ LocalLock LocalReAlloc LocalShrink LocalSize +LocalSystemTimeToLocalFileTime LocalUnlock LocaleNameToLCID LocateExtendedFeature LocateLegacyContext +LocateXStateFeature LockFile LockFileEx LockResource @@ -1099,11 +1133,13 @@ QueryFullProcessImageNameW QueryIdleProcessorCycleTime QueryIdleProcessorCycleTimeEx QueryInformationJobObject +QueryIoRateControlInformationJobObject QueryMemoryResourceNotification QueryPerformanceCounter QueryPerformanceFrequency QueryProcessAffinityUpdateMode QueryProcessCycleTime +QueryProtectedPolicy QueryThreadCycleTime QueryThreadProfiling QueryThreadpoolStackInformation @@ -1116,6 +1152,8 @@ QuirkGetDataWorker QuirkIsEnabled2Worker QuirkIsEnabled3Worker QuirkIsEnabledForPackage2Worker +QuirkIsEnabledForPackage3Worker +QuirkIsEnabledForPackage4Worker QuirkIsEnabledForPackageWorker QuirkIsEnabledForProcessWorker QuirkIsEnabledWorker @@ -1141,6 +1179,7 @@ ReadFileEx ReadFileScatter ReadProcessMemory ReadThreadProfilingData +ReclaimVirtualMemory ; ; MSDN says these functions are exported ; from advapi32.dll. Commented out for @@ -1231,6 +1270,7 @@ RequestDeviceWakeup RequestWakeupLatency ResetEvent ResetWriteWatch +ResizePseudoConsole ResolveDelayLoadedAPI ResolveDelayLoadsFromDll ResolveLocaleName @@ -1346,6 +1386,7 @@ SetFirmwareEnvironmentVariableW SetHandleCount SetHandleInformation SetInformationJobObject +SetIoRateControlInformationJobObject SetLastConsoleEventActive SetLastError SetLocalPrimaryComputerNameA @@ -1361,6 +1402,7 @@ SetPriorityClass SetProcessAffinityMask SetProcessAffinityUpdateMode SetProcessDEPPolicy +SetProcessDefaultCpuSets SetProcessInformation SetProcessMitigationPolicy SetProcessPreferredUILanguages @@ -1368,6 +1410,7 @@ SetProcessPriorityBoost SetProcessShutdownParameters SetProcessWorkingSetSize SetProcessWorkingSetSizeEx +SetProtectedPolicy SetSearchPathMode SetStdHandle SetStdHandleEx @@ -1380,6 +1423,7 @@ SetTapePosition SetTermsrvAppInstallMode SetThreadAffinityMask SetThreadContext +SetThreadDescription SetThreadErrorMode SetThreadExecutionState SetThreadGroupAffinity @@ -1390,6 +1434,7 @@ SetThreadLocale SetThreadPreferredUILanguages SetThreadPriority SetThreadPriorityBoost +SetThreadSelectedCpuSets SetThreadStackGuarantee SetThreadToken SetThreadUILanguage @@ -1405,6 +1450,7 @@ SetTimerQueueTimer F_X64(SetUmsThreadInformation) SetUnhandledExceptionFilter SetUserGeoID +SetUserGeoName SetVDMCurrentDirectories SetVolumeLabelA SetVolumeLabelW @@ -1413,6 +1459,7 @@ SetVolumeMountPointW SetVolumeMountPointWStub SetWaitableTimer SetWaitableTimerEx +SetXStateFeaturesMask SetupComm ShowConsoleCursor SignalObjectAndWait @@ -1507,6 +1554,7 @@ VirtualUnlock WTSGetActiveConsoleSessionId WaitCommEvent WaitForDebugEvent +WaitForDebugEventEx WaitForMultipleObjects WaitForMultipleObjectsEx WaitForSingleObject @@ -1523,6 +1571,11 @@ WakeByAddressSingle WakeByAddressAll WakeConditionVariable WerGetFlags +WerGetFlagsWorker +WerRegisterAdditionalProcess +WerRegisterAppLocalDump +WerRegisterCustomMetadata +WerRegisterExcludedMemoryBlock WerRegisterFile WerRegisterFileWorker WerRegisterMemoryBlock @@ -1530,6 +1583,11 @@ WerRegisterMemoryBlockWorker WerRegisterRuntimeExceptionModule WerRegisterRuntimeExceptionModuleWorker WerSetFlags +WerSetFlagsWorker +WerUnregisterAdditionalProcess +WerUnregisterAppLocalDump +WerUnregisterCustomMetadata +WerUnregisterExcludedMemoryBlock WerUnregisterFile WerUnregisterFileWorker WerUnregisterMemoryBlock @@ -1614,6 +1672,11 @@ lstrcpynW lstrlen lstrlenA lstrlenW +timeBeginPeriod +timeEndPeriod +timeGetDevCaps +timeGetSystemTime +timeGetTime uaw_lstrcmpW uaw_lstrcmpiW uaw_lstrlenW -- 2.20.1
_______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public