mirror of
https://github.com/UzixLS/KernelEx.git
synced 2025-07-19 07:21:20 +03:00
import KernelEx-4.5.2
This commit is contained in:
@ -43,3 +43,21 @@ BOOL WINAPI LockFileEx_new(
|
||||
return LockFile(hFile, lpOverlapped->Offset, lpOverlapped->OffsetHigh,
|
||||
nNumberOfBytesToLockLow, nNumberOfBytesToLockHigh);
|
||||
}
|
||||
|
||||
/* MAKE_EXPORT UnlockFileEx_new=UnlockFileEx */
|
||||
BOOL WINAPI UnlockFileEx_new(
|
||||
HANDLE hFile,
|
||||
DWORD dwReserved,
|
||||
DWORD nNumberOfBytesToUnlockLow,
|
||||
DWORD nNumberOfBytesToUnlockHigh,
|
||||
LPOVERLAPPED lpOverlapped
|
||||
)
|
||||
{
|
||||
if (dwReserved)
|
||||
{
|
||||
SetLastError(ERROR_INVALID_PARAMETER);
|
||||
return FALSE;
|
||||
}
|
||||
return UnlockFile(hFile, lpOverlapped->Offset, lpOverlapped->OffsetHigh,
|
||||
nNumberOfBytesToUnlockLow, nNumberOfBytesToUnlockHigh);
|
||||
}
|
||||
|
@ -214,6 +214,7 @@ static const apilib_named_api kernel32_named_apis[] =
|
||||
DECL_API("TerminateJobObject", TerminateJobObject_new),
|
||||
DECL_API("TryEnterCriticalSection", TryEnterCriticalSection_new),
|
||||
DECL_API("TzSpecificLocalTimeToSystemTime", TzSpecificLocalTimeToSystemTime_new),
|
||||
DECL_API("UnlockFileEx", UnlockFileEx_new),
|
||||
DECL_API("VerLanguageNameW", VerLanguageNameW_new),
|
||||
DECL_API("VerSetConditionMask", VerSetConditionMask_new),
|
||||
DECL_API("VerifyVersionInfoA", VerifyVersionInfoA_NT2K),
|
||||
|
@ -70,6 +70,7 @@ BOOL WINAPI AssignProcessToJobObject_new(HANDLE job, HANDLE process);
|
||||
BOOL WINAPI IsProcessInJob_new(HANDLE process, HANDLE job, PBOOL result);
|
||||
void WINAPI KEXVersion(char* out);
|
||||
BOOL WINAPI LockFileEx_new(HANDLE hFile, DWORD dwFlags, DWORD dwReserved, DWORD nNumberOfBytesToLockLow, DWORD nNumberOfBytesToLockHigh, LPOVERLAPPED lpOverlapped);
|
||||
BOOL WINAPI UnlockFileEx_new(HANDLE hFile, DWORD dwReserved, DWORD nNumberOfBytesToUnlockLow, DWORD nNumberOfBytesToUnlockHigh, LPOVERLAPPED lpOverlapped);
|
||||
LPVOID WINAPI MapViewOfFileEx_new(HANDLE hFileMappingObject, DWORD dwDesiredAccess, DWORD dwFileOffsetHigh, DWORD dwFileOffsetLow, SIZE_T dwNumberOfBytesToMap, LPVOID lpBaseAddress);
|
||||
LPVOID WINAPI MapViewOfFile_new(HANDLE hFileMappingObject, DWORD dwDesiredAccess, DWORD dwFileOffsetHigh, DWORD dwFileOffsetLow, SIZE_T dwNumberOfBytesToMap);
|
||||
BOOL WINAPI MoveFileExA_new(LPCSTR lpExistingFileNameA, LPCSTR lpNewFileNameA, DWORD dwFlags);
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include <windows.h>
|
||||
|
||||
/* MAKE_EXPORT IsUserAnAdmin_new=IsUserAnAdmin */
|
||||
/* MAKE_EXPORT IsUserAnAdmin_new=ordinal680 */
|
||||
BOOL WINAPI IsUserAnAdmin_new(void)
|
||||
{
|
||||
return TRUE;
|
||||
|
@ -48,12 +48,11 @@ static const apilib_named_api shell32_named_apis[] =
|
||||
/*** AUTOGENERATED APILIST NAMED EXPORTS END ***/
|
||||
};
|
||||
|
||||
#if 0
|
||||
static const apilib_unnamed_api shell32_ordinal_apis[] =
|
||||
{
|
||||
/*** AUTOGENERATED APILIST ORDINAL EXPORTS BEGIN ***/
|
||||
DECL_API(680, IsUserAnAdmin_new),
|
||||
/*** AUTOGENERATED APILIST ORDINAL EXPORTS END ***/
|
||||
};
|
||||
#endif
|
||||
|
||||
const apilib_api_table apitable_shell32 = DECL_TAB("SHELL32.DLL", shell32_named_apis, 0 /*shell32_ordinal_apis*/);
|
||||
const apilib_api_table apitable_shell32 = DECL_TAB("SHELL32.DLL", shell32_named_apis, shell32_ordinal_apis);
|
||||
|
@ -7,8 +7,7 @@ REGEDIT4
|
||||
"*\\UNICOWS.DLL"="DCFG1"
|
||||
"*\\MFC*U.DLL"="WINXP"
|
||||
;-Firefox
|
||||
"*\\FIREFOX SETUP 3*.EXE"="WINXP"
|
||||
"*\\FIREFOX SETUP 4*.EXE"="WINXP"
|
||||
"*\\FIREFOX SETUP *.EXE"="WINXP"
|
||||
"*FIREFOX\\UNINSTALL\\HELPER.EXE"="WINXP"
|
||||
"*\\FIREFOX*PRE*.INSTALLER.EXE"="WINXP"
|
||||
"*\\XUL.DLL"="NT2K"
|
||||
@ -89,4 +88,6 @@ REGEDIT4
|
||||
"*\\DXWEBSETUP.EXE"=dword:00000001
|
||||
;-OpenOffice.org
|
||||
"*\\PROGRAM\\CRASHREP.EXE"=dword:00000001
|
||||
;Canon PageComposer Queue Manager
|
||||
"*\\CPC10Q.EXE"=dword:00000001
|
||||
|
||||
|
Reference in New Issue
Block a user