1
0
mirror of https://github.com/UzixLS/KernelEx.git synced 2025-07-19 07:21:20 +03:00

import KernelEx-4.5-Beta1

This commit is contained in:
UzixLS
2018-11-03 16:21:13 +03:00
parent d6aad6c6c5
commit 09929b2b7d
392 changed files with 17832 additions and 2491 deletions

19
apilibs/kexbases/Kernel32/_kernel32_apilist.c Normal file → Executable file
View File

@ -30,7 +30,6 @@ http://17slon.com/blogs/gabr/2007/02/four-ways-to-detect-vista.html
void get_cpuinfo();
BOOL init_tryentercritsec();
BOOL init_openthread();
BOOL init_kernel32()
{
@ -82,6 +81,8 @@ static const apilib_named_api kernel32_named_apis[] =
DECL_API("GetConsoleWindow", GetConsoleWindow_new),
DECL_API("GetCurrentDirectoryW", GetCurrentDirectoryW_new),
DECL_API("GetDefaultCommConfigW", GetDefaultCommConfigW_new),
DECL_API("GetDiskFreeSpaceA", GetDiskFreeSpaceA_fix),
DECL_API("GetDiskFreeSpaceExA", GetDiskFreeSpaceExA_fix),
DECL_API("GetDiskFreeSpaceExW", GetDiskFreeSpaceExW_new),
DECL_API("GetDiskFreeSpaceW", GetDiskFreeSpaceW_new),
DECL_API("GetEnvironmentStringsW", GetEnvironmentStringsW_new),
@ -91,8 +92,11 @@ static const apilib_named_api kernel32_named_apis[] =
DECL_API("GetFullPathNameW", GetFullPathNameW_new),
DECL_API("GetLongPathNameW", GetLongPathNameW_new),
DECL_API("GetModuleFileNameW", GetModuleFileNameW_new),
DECL_API("GetModuleHandleExA", GetModuleHandleExA_new),
DECL_API("GetModuleHandleExW", GetModuleHandleExW_new),
DECL_API("GetModuleHandleW", GetModuleHandleW_new),
DECL_API("GetNativeSystemInfo", GetSystemInfo),
DECL_API("GetProcessIoCounters", GetProcessIoCounters_stub),
DECL_API("GetShortPathNameW", GetShortPathNameW_new),
DECL_API("GetStartupInfoW", GetStartupInfoW_new),
DECL_API("GetStringTypeExW", GetStringTypeExW_new),
@ -101,6 +105,7 @@ static const apilib_named_api kernel32_named_apis[] =
DECL_API("GetSystemDirectoryW", GetSystemDirectoryW_new),
DECL_API("GetSystemWindowsDirectoryA", GetWindowsDirectoryA),
DECL_API("GetSystemWindowsDirectoryW", GetWindowsDirectoryW_new),
DECL_API("GetTempFileNameA", GetTempFileNameA_fix),
DECL_API("GetTempFileNameW", GetTempFileNameW_new),
DECL_API("GetTempPathW", GetTempPathW_new),
DECL_API("GetUserDefaultUILanguage", GetUserDefaultUILanguage_new),
@ -139,13 +144,17 @@ static const apilib_named_api kernel32_named_apis[] =
DECL_API("GlobalAddAtomW", GlobalAddAtomW_new),
DECL_API("GlobalFindAtomW", GlobalFindAtomW_new),
DECL_API("GlobalGetAtomNameW", GlobalGetAtomNameW_new),
DECL_API("GlobalLock", GlobalLock_fix),
DECL_API("GlobalMemoryStatusEx", GlobalMemoryStatusEx_new),
DECL_API("GlobalUnlock", GlobalUnlock_fix),
DECL_API("HeapLock", HeapLock_new),
DECL_API("HeapSetInformation", HeapSetInformation_stub),
DECL_API("HeapUnlock", HeapUnlock_new),
DECL_API("InitializeCriticalSectionAndSpinCount", InitializeCriticalSectionAndSpinCount_new),
DECL_API("IsProcessInJob", IsProcessInJob_new),
DECL_API("IsProcessorFeaturePresent", IsProcessorFeaturePresent_new),
DECL_API("IsValidLanguageGroup", IsValidLanguageGroup_stub),
DECL_API("IsWow64Process", IsWow64Process_new),
DECL_API("KEXVersion", KEXVersion),
DECL_API("LCMapStringW", LCMapStringW_new),
DECL_API("LoadLibraryExW", LoadLibraryExW_new),
@ -166,15 +175,14 @@ static const apilib_named_api kernel32_named_apis[] =
DECL_API("OutputDebugStringW", OutputDebugStringW_new),
DECL_API("Process32FirstW", Process32FirstW_new),
DECL_API("Process32NextW", Process32NextW_new),
DECL_API("ProcessIdToSessionId", ProcessIdToSessionId_new),
DECL_API("QueryInformationJobObject", QueryInformationJobObject_new),
DECL_API("QueueUserWorkItem", QueueUserWorkItem_stub),
DECL_API("ReadFile", ReadFile_fix),
DECL_API("RegisterWaitForSingleObject", RegisterWaitForSingleObject_new),
DECL_API("RegisterWaitForSingleObjectEx", RegisterWaitForSingleObjectEx_new),
DECL_API("RemoveDirectoryW", RemoveDirectoryW_new),
DECL_API("ReplaceFileA", ReplaceFileA_stub),
DECL_API("ReplaceFileW", ReplaceFileW_stub),
DECL_API("RestoreLastError", SetLastError),
DECL_API("RtlCaptureStackBackTrace", RtlCaptureStackBackTrace_stub),
DECL_API("SearchPathW", SearchPathW_new),
DECL_API("SetConsoleTitleW", SetConsoleTitleW_new),
DECL_API("SetCurrentDirectoryW", SetCurrentDirectoryW_new),
@ -183,8 +191,6 @@ static const apilib_named_api kernel32_named_apis[] =
DECL_API("SetInformationJobObject", SetInformationJobObject_new),
DECL_API("TerminateJobObject", TerminateJobObject_new),
DECL_API("TryEnterCriticalSection", TryEnterCriticalSection_new),
DECL_API("UnregisterWait", UnregisterWait_new),
DECL_API("UnregisterWaitEx", UnregisterWaitEx_new),
DECL_API("VerLanguageNameW", VerLanguageNameW_new),
DECL_API("VerSetConditionMask", VerSetConditionMask_new),
DECL_API("VerifyVersionInfoA", VerifyVersionInfoA_NT2K),
@ -199,6 +205,7 @@ static const apilib_named_api kernel32_named_apis[] =
DECL_API("VerifyVersionInfoW", VerifyVersionInfoW_WIN2K8),
DECL_API("VirtualAllocEx", VirtualAllocEx_new),
DECL_API("VirtualFreeEx", VirtualFreeEx_new),
DECL_API("WTSGetActiveConsoleSessionId", WTSGetActiveConsoleSessionId_new),
DECL_API("WideCharToMultiByte", WideCharToMultiByte_new),
DECL_API("WriteFile", WriteFile_fix),
DECL_API("lstrcmpW", lstrcmpW_new),