fixed spacing in kernelx.h

This commit is contained in:
AleBlbl 2024-09-05 08:11:48 +02:00 committed by GitHub
parent ec8a835ebb
commit 5d376ffe00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,9 +18,9 @@ extern "C"
PVOID XMemAlloc_X(SIZE_T dwSize, ULONGLONG dwAttributes);
BOOL XMemFree_X(PVOID P, UINT64 a2);
BOOL XMemFree_X(PVOID P, UINT64 a2);
LPTOP_LEVEL_EXCEPTION_FILTER SetUnhandledExceptionFilter_X(LPTOP_LEVEL_EXCEPTION_FILTER lpTopLevelExceptionFilter);
LPTOP_LEVEL_EXCEPTION_FILTER SetUnhandledExceptionFilter_X(LPTOP_LEVEL_EXCEPTION_FILTER lpTopLevelExceptionFilter);
BOOL TerminateProcess_X(HANDLE hProcess, UINT uExitCode);
@ -34,13 +34,13 @@ extern "C"
PRUNTIME_FUNCTION RtlLookupFunctionEntry_X(DWORD64 ControlPc, PDWORD64 ImageBase, PUNWIND_HISTORY_TABLE HistoryTable);
void RtlUnwindEx_X(PVOID TargetFrame, PVOID TargetIp, PEXCEPTION_RECORD ExceptionRecord, PVOID ReturnValue, PCONTEXT ContextRecord, PUNWIND_HISTORY_TABLE HistoryTable);
void RtlUnwindEx_X(PVOID TargetFrame, PVOID TargetIp, PEXCEPTION_RECORD ExceptionRecord, PVOID ReturnValue, PCONTEXT ContextRecord, PUNWIND_HISTORY_TABLE HistoryTable);
BOOL DeviceIoControl_X(HANDLE hDevice, DWORD dwIoControlCode, LPVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesReturned, LPOVERLAPPED lpOverlapped);
BOOL DeviceIoControl_X(HANDLE hDevice, DWORD dwIoControlCode, LPVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesReturned, LPOVERLAPPED lpOverlapped);
HMODULE LoadLibraryExW_X(LPCWSTR lpLibFileName, HANDLE hFile, DWORD dwFlags);
HMODULE LoadLibraryExW_X(LPCWSTR lpLibFileName, HANDLE hFile, DWORD dwFlags);
DWORD GetProcessId_X(HANDLE Process);
DWORD GetProcessId_X(HANDLE Process);
void GetSystemTimeAsFileTime_X(LPFILETIME lpSystemTimeAsFileTime);
@ -54,7 +54,7 @@ extern "C"
LPVOID VirtualAlloc_X(LPVOID lpAddress, SIZE_T dwSize, DWORD flAllocationType, DWORD flProtect);
BOOL XMemFreeDefault_X(PVOID P, UINT64 a2);
BOOL XMemFreeDefault_X(PVOID P, UINT64 a2);
BOOL WriteFile_X(HANDLE hFile, LPCVOID lpBuffer, DWORD nNumberOfBytesToWrite, LPDWORD lpNumberOfBytesWritten, LPOVERLAPPED lpOverlapped);
@ -88,9 +88,9 @@ extern "C"
BOOL QueryPerformanceCounter_X(LARGE_INTEGER* lpPerformanceCount);
void OutputDebugStringA_X(LPCSTR lpOutputString);
void OutputDebugStringA_X(LPCSTR lpOutputString);
void OutputDebugStringW_X(LPCWSTR lpOutputString);
void OutputDebugStringW_X(LPCWSTR lpOutputString);
int MultiByteToWideChar_X(UINT CodePage, DWORD dwFlags, LPCSTR lpMultiByteStr, int cbMultiByte, LPWSTR lpWideCharStr, int cchWideChar);
@ -100,9 +100,9 @@ extern "C"
BOOL InitializeCriticalSectionAndSpinCount_X(LPCRITICAL_SECTION lpCriticalSection, DWORD dwSpinCount);
BOOL InitializeCriticalSectionEx_X(LPCRITICAL_SECTION lpCriticalSection, DWORD dwSpinCount, DWORD Flags);
BOOL InitializeCriticalSectionEx_X(LPCRITICAL_SECTION lpCriticalSection, DWORD dwSpinCount, DWORD Flags);
GEOID GetUserGeoID_X(GEOCLASS GeoClass);
GEOID GetUserGeoID_X(GEOCLASS GeoClass);
int GetUserDefaultLocaleName_X(LPWSTR lpLocaleName, int cchLocaleName);
@ -112,9 +112,9 @@ extern "C"
HMODULE GetModuleHandleW_X(LPCWSTR lpModuleName);
HMODULE GetModuleHandleA_X(LPCSTR lpModuleName);
HMODULE GetModuleHandleA_X(LPCSTR lpModuleName);
void GetLocalTime_X(LPSYSTEMTIME lpSystemTime);
void GetLocalTime_X(LPSYSTEMTIME lpSystemTime);
DWORD GetLastError_X();
@ -146,9 +146,9 @@ extern "C"
void DebugBreak_X();
BOOL SetEvent_X(HANDLE hEvent);
BOOL SetEvent_X(HANDLE hEvent);
HANDLE CreateThread_X(LPSECURITY_ATTRIBUTES lpThreadAttributes, SIZE_T dwStackSize, LPTHREAD_START_ROUTINE lpStartAddress, LPVOID lpParameter, DWORD dwCreationFlags, LPDWORD lpThreadId);
HANDLE CreateThread_X(LPSECURITY_ATTRIBUTES lpThreadAttributes, SIZE_T dwStackSize, LPTHREAD_START_ROUTINE lpStartAddress, LPVOID lpParameter, DWORD dwCreationFlags, LPDWORD lpThreadId);
HANDLE CreateFileW_X(LPCWSTR lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile);
@ -160,13 +160,13 @@ extern "C"
BOOL CloseHandle_X(HANDLE hObject);
BOOL DisableThreadLibraryCalls_X(HMODULE hLibModule);
BOOL DisableThreadLibraryCalls_X(HMODULE hLibModule);
BOOL HeapFree_X(HANDLE hHeap, DWORD dwFlags, LPVOID lpMem);
BOOL HeapFree_X(HANDLE hHeap, DWORD dwFlags, LPVOID lpMem);
BOOL PeekNamedPipe_X(HANDLE hNamedPipe, LPVOID lpBuffer, DWORD nBufferSize, LPDWORD lpBytesRead, LPDWORD lpTotalBytesAvail, LPDWORD lpBytesLeftThisMessage);
BOOL PeekNamedPipe_X(HANDLE hNamedPipe, LPVOID lpBuffer, DWORD nBufferSize, LPDWORD lpBytesRead, LPDWORD lpTotalBytesAvail, LPDWORD lpBytesLeftThisMessage);
__int64 GetConsoleType_X();
__int64 GetConsoleType_X();
//BOOL TerminateProcess(HANDLE hProcess, UINT uExitCode);
}
@ -177,4 +177,4 @@ extern "C"
//DLLMain entrypoint matching test
__int64 sub_18001BB8C();
NTSTATUS sub_18001BCA0(HINSTANCE hInstance, DWORD forwardReason, LPVOID lpvReserved);
NTSTATUS sub_18001BCA0(HINSTANCE hInstance, DWORD forwardReason, LPVOID lpvReserved);