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

import KernelEx-4.0-RC2

This commit is contained in:
UzixLS
2018-11-03 16:19:29 +03:00
parent d4e0420295
commit 339353cce8
299 changed files with 682 additions and 165 deletions

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

@ -28,11 +28,13 @@ http://17slon.com/blogs/gabr/2007/02/four-ways-to-detect-vista.html
#include "kexcoresdk.h"
#include "_kernel32_apilist.h"
void get_cpuinfo();
BOOL init_tryentercritsec();
BOOL init_openthread();
BOOL init_kernel32()
{
get_cpuinfo();
return init_tryentercritsec() && init_openthread();
}
@ -73,7 +75,7 @@ static const apilib_named_api kernel32_named_apis[] =
DECL_API("FindResourceExW", FindResourceExW_new),
DECL_API("FindResourceW", FindResourceW_new),
DECL_API("FreeEnvironmentStringsW", FreeEnvironmentStringsW_new),
DECL_API("GetConsoleWindow", GetConsoleWindow_stub),
DECL_API("GetConsoleWindow", GetConsoleWindow_new),
DECL_API("GetCurrentDirectoryW", GetCurrentDirectoryW_new),
DECL_API("GetDefaultCommConfigW", GetDefaultCommConfigW_new),
DECL_API("GetDiskFreeSpaceExW", GetDiskFreeSpaceExW_new),
@ -103,6 +105,7 @@ static const apilib_named_api kernel32_named_apis[] =
DECL_API("GetVersion", GetVersion_WIN2K3),
DECL_API("GetVersion", GetVersion_VISTA),
DECL_API("GetVersion", GetVersion_WIN2K8),
DECL_API("GetVersionExA", GetVersionExA_ORIG),
DECL_API("GetVersionExA", GetVersionExA_WIN95),
DECL_API("GetVersionExA", GetVersionExA_WIN98),
DECL_API("GetVersionExA", GetVersionExA_WINME),
@ -112,6 +115,7 @@ static const apilib_named_api kernel32_named_apis[] =
DECL_API("GetVersionExA", GetVersionExA_WIN2K3),
DECL_API("GetVersionExA", GetVersionExA_VISTA),
DECL_API("GetVersionExA", GetVersionExA_WIN2K8),
DECL_API("GetVersionExW", GetVersionExW_ORIG),
DECL_API("GetVersionExW", GetVersionExW_WIN95),
DECL_API("GetVersionExW", GetVersionExW_WIN98),
DECL_API("GetVersionExW", GetVersionExW_WINME),
@ -130,6 +134,7 @@ static const apilib_named_api kernel32_named_apis[] =
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("KEXVersion", KEXVersion),
DECL_API("LockFileEx", LockFileEx_new),
@ -149,6 +154,7 @@ static const apilib_named_api kernel32_named_apis[] =
DECL_API("Process32NextW", Process32NextW_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),
@ -179,6 +185,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("WriteFile", WriteFile_fix),
DECL_API("lstrcpynW", lstrcpynW_new),
/*** AUTOGENERATED APILIST NAMED EXPORTS END ***/
};