16 #define MINIMAL_WINDOWS_API
18 #define MINIMAL_WINDOWS_API extern "C" __declspec(dllimport)
26#pragma push_macro("TRUE")
27#pragma push_macro("FALSE")
47struct tagPROCESSENTRY32W;
48struct _EXCEPTION_POINTERS;
50struct _RTL_CRITICAL_SECTION;
54#define WINDOWS_MAX_PATH 260
55#define WINDOWS_PF_COMPARE_EXCHANGE128 14
58#define WINAPI __stdcall
65 typedef unsigned char BYTE;
249#pragma pop_macro("FALSE")
250#pragma pop_macro("TRUE")
#define MINIMAL_WINDOWS_API
FORCEINLINE void WINAPI ReleaseSRWLockExclusive(SRWLOCK *SRWLock)
MINIMAL_WINDOWS_API void WINAPI AcquireSRWLockExclusive(PSRWLOCK SRWLock)
MINIMAL_WINDOWS_API BOOL WINAPI TlsSetValue(DWORD dwTlsIndex, LPVOID lpTlsValue)
FORCEINLINE BOOLEAN WINAPI TryAcquireSRWLockExclusive(SRWLOCK *SRWLock)
MINIMAL_WINDOWS_API void WINAPI LeaveCriticalSection(LPCRITICAL_SECTION lpCriticalSection)
FORCEINLINE BOOL WINAPI InitializeCriticalSectionAndSpinCount(CRITICAL_SECTION *lpCriticalSection, DWORD dwSpinCount)
MINIMAL_WINDOWS_API BOOL WINAPI QueryPerformanceCounter(LPLARGE_INTEGER Cycles)
FORCEINLINE void WINAPI AcquireSRWLockShared(SRWLOCK *SRWLock)
_RTL_SRWLOCK * PRTL_SRWLOCK
FORCEINLINE void WINAPI LeaveCriticalSection(CRITICAL_SECTION *lpCriticalSection)
MINIMAL_WINDOWS_API BOOL WINAPI FreeLibrary(HMODULE hModule)
FORCEINLINE BOOL WINAPI WriteFile(HANDLE hFile, LPCVOID lpBuffer, DWORD nNumberOfBytesToWrite, LPDWORD lpNumberOfBytesWritten, OVERLAPPED *lpOverlapped)
MINIMAL_WINDOWS_API DWORD WINAPI GetCurrentThreadId()
MINIMAL_WINDOWS_API LPVOID WINAPI TlsGetValue(DWORD dwTlsIndex)
FORCEINLINE BOOL WINAPI ConnectNamedPipe(HANDLE hNamedPipe, OVERLAPPED *lpOverlapped)
FORCEINLINE BOOLEAN WINAPI TryAcquireSRWLockShared(SRWLOCK *SRWLock)
FORCEINLINE void WINAPI InitializeSRWLock(SRWLOCK *SRWLock)
MINIMAL_WINDOWS_API void WINAPI InitializeCriticalSection(LPCRITICAL_SECTION lpCriticalSection)
tagPROCESSENTRY32W PROCESSENTRY32
static constexpr BOOL TRUE
MINIMAL_WINDOWS_API BOOLEAN WINAPI TryAcquireSRWLockShared(PSRWLOCK SRWLock)
MINIMAL_WINDOWS_API BOOL WINAPI TryEnterCriticalSection(LPCRITICAL_SECTION lpCriticalSection)
MINIMAL_WINDOWS_API BOOL WINAPI InitializeCriticalSectionAndSpinCount(LPCRITICAL_SECTION lpCriticalSection, DWORD dwSpinCount)
FORCEINLINE void WINAPI ReleaseSRWLockShared(SRWLOCK *SRWLock)
FORCEINLINE BOOL WINAPI GetOverlappedResult(HANDLE hFile, OVERLAPPED *lpOverlapped, LPDWORD lpNumberOfBytesTransferred, BOOL bWait)
MINIMAL_WINDOWS_API HMODULE WINAPI LoadLibraryW(LPCTSTR lpFileName)
MINIMAL_WINDOWS_API void WINAPI AcquireSRWLockShared(PSRWLOCK SRWLock)
_LARGE_INTEGER * LPLARGE_INTEGER
_EXCEPTION_POINTERS * LPEXCEPTION_POINTERS
FORCEINLINE void WINAPI AcquireSRWLockExclusive(SRWLOCK *SRWLock)
FORCEINLINE BOOL WINAPI QueryPerformanceCounter(LARGE_INTEGER *Cycles)
MINIMAL_WINDOWS_API void WINAPI ReleaseSRWLockShared(PSRWLOCK SRWLock)
MINIMAL_WINDOWS_API BOOL WINAPI WriteFile(HANDLE hFile, LPCVOID lpBuffer, DWORD nNumberOfBytesToWrite, LPDWORD lpNumberOfBytesWritten, LPOVERLAPPED lpOverlapped)
MINIMAL_WINDOWS_API BOOLEAN WINAPI TryAcquireSRWLockExclusive(PSRWLOCK SRWLock)
_RTL_CRITICAL_SECTION * LPCRITICAL_SECTION
MINIMAL_WINDOWS_API BOOL WINAPI GetOverlappedResult(HANDLE hFile, LPOVERLAPPED lpOverlapped, LPDWORD lpNumberOfBytesTransferred, BOOL bWait)
FORCEINLINE DWORD WINAPI SetCriticalSectionSpinCount(CRITICAL_SECTION *lpCriticalSection, DWORD dwSpinCount)
MINIMAL_WINDOWS_API void WINAPI ReleaseSRWLockExclusive(PSRWLOCK SRWLock)
MINIMAL_WINDOWS_API BOOL WINAPI TlsFree(DWORD dwTlsIndex)
MINIMAL_WINDOWS_API void WINAPI EnterCriticalSection(LPCRITICAL_SECTION lpCriticalSection)
MINIMAL_WINDOWS_API DWORD WINAPI SetCriticalSectionSpinCount(LPCRITICAL_SECTION lpCriticalSection, DWORD dwSpinCount)
FORCEINLINE BOOL WINAPI TryEnterCriticalSection(CRITICAL_SECTION *lpCriticalSection)
FORCEINLINE BOOL WINAPI ReadFile(HANDLE hFile, LPVOID lpBuffer, DWORD nNumberOfBytesToRead, LPDWORD lpNumberOfBytesRead, OVERLAPPED *lpOverlapped)
MINIMAL_WINDOWS_API BOOL WINAPI IsProcessorFeaturePresent(DWORD ProcessorFeature)
FORCEINLINE void WINAPI InitializeCriticalSection(CRITICAL_SECTION *lpCriticalSection)
FORCEINLINE void WINAPI EnterCriticalSection(CRITICAL_SECTION *lpCriticalSection)
MINIMAL_WINDOWS_API BOOL WINAPI ConnectNamedPipe(HANDLE hNamedPipe, LPOVERLAPPED lpOverlapped)
static constexpr BOOL FALSE
MINIMAL_WINDOWS_API void WINAPI InitializeSRWLock(PSRWLOCK SRWLock)
_OVERLAPPED * LPOVERLAPPED
MINIMAL_WINDOWS_API DWORD WINAPI TlsAlloc()
FORCEINLINE void WINAPI DeleteCriticalSection(CRITICAL_SECTION *lpCriticalSection)
MINIMAL_WINDOWS_API BOOL WINAPI ReadFile(HANDLE hFile, LPVOID lpBuffer, DWORD nNumberOfBytesToRead, LPDWORD lpNumberOfBytesRead, LPOVERLAPPED lpOverlapped)
MINIMAL_WINDOWS_API void WINAPI DeleteCriticalSection(LPCRITICAL_SECTION lpCriticalSection)