Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
MinimalWindowsApi.h File Reference
#include "CoreTypes.h"
+ Include dependency graph for MinimalWindowsApi.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Windows::SRWLOCK
 
struct  Windows::CRITICAL_SECTION
 
struct  Windows::OVERLAPPED
 
union  Windows::LARGE_INTEGER
 

Namespaces

namespace  Windows
 

Macros

#define MINIMAL_WINDOWS_API   extern "C" __declspec(dllimport)
 
#define STRICT
 
#define WINDOWS_MAX_PATH   260
 
#define WINDOWS_PF_COMPARE_EXCHANGE128   14
 
#define WINAPI   __stdcall
 

Typedefs

typedef int32 Windows::BOOL
 
typedef unsigned char Windows::BYTE
 
typedef BYTE Windows::BOOLEAN
 
typedef unsigned long Windows::DWORD
 
typedef DWORDWindows::LPDWORD
 
typedef long Windows::LONG
 
typedef longWindows::LPLONG
 
typedef int64 Windows::LONGLONG
 
typedef LONGLONGWindows::LPLONGLONG
 
typedef voidWindows::LPVOID
 
typedef const voidWindows::LPCVOID
 
typedef const wchar_tWindows::LPCTSTR
 
typedef voidWindows::HANDLE
 
typedef HINSTANCE__Windows::HINSTANCE
 
typedef HINSTANCE Windows::HMODULE
 
typedef HWND__Windows::HWND
 
typedef HKEY__Windows::HKEY
 
typedef HDC__Windows::HDC
 
typedef HICON__Windows::HICON
 
typedef HICON__Windows::HCURSOR
 
typedef tagPROCESSENTRY32W Windows::PROCESSENTRY32
 
typedef _EXCEPTION_POINTERSWindows::LPEXCEPTION_POINTERS
 
typedef _RTL_CRITICAL_SECTIONWindows::LPCRITICAL_SECTION
 
typedef _OVERLAPPEDWindows::LPOVERLAPPED
 
typedef _LARGE_INTEGERWindows::LPLARGE_INTEGER
 
typedef _RTL_SRWLOCK Windows::RTL_SRWLOCK
 
typedef _RTL_SRWLOCKWindows::PRTL_SRWLOCK
 
typedef RTL_SRWLOCKWindows::PSRWLOCK
 

Functions

MINIMAL_WINDOWS_API HMODULE WINAPI Windows::LoadLibraryW (LPCTSTR lpFileName)
 
MINIMAL_WINDOWS_API BOOL WINAPI Windows::FreeLibrary (HMODULE hModule)
 
MINIMAL_WINDOWS_API void WINAPI Windows::InitializeCriticalSection (LPCRITICAL_SECTION lpCriticalSection)
 
MINIMAL_WINDOWS_API BOOL WINAPI Windows::InitializeCriticalSectionAndSpinCount (LPCRITICAL_SECTION lpCriticalSection, DWORD dwSpinCount)
 
MINIMAL_WINDOWS_API DWORD WINAPI Windows::SetCriticalSectionSpinCount (LPCRITICAL_SECTION lpCriticalSection, DWORD dwSpinCount)
 
MINIMAL_WINDOWS_API BOOL WINAPI Windows::TryEnterCriticalSection (LPCRITICAL_SECTION lpCriticalSection)
 
MINIMAL_WINDOWS_API void WINAPI Windows::EnterCriticalSection (LPCRITICAL_SECTION lpCriticalSection)
 
MINIMAL_WINDOWS_API void WINAPI Windows::LeaveCriticalSection (LPCRITICAL_SECTION lpCriticalSection)
 
MINIMAL_WINDOWS_API void WINAPI Windows::DeleteCriticalSection (LPCRITICAL_SECTION lpCriticalSection)
 
MINIMAL_WINDOWS_API void WINAPI Windows::InitializeSRWLock (PSRWLOCK SRWLock)
 
MINIMAL_WINDOWS_API void WINAPI Windows::AcquireSRWLockShared (PSRWLOCK SRWLock)
 
MINIMAL_WINDOWS_API void WINAPI Windows::ReleaseSRWLockShared (PSRWLOCK SRWLock)
 
MINIMAL_WINDOWS_API void WINAPI Windows::AcquireSRWLockExclusive (PSRWLOCK SRWLock)
 
MINIMAL_WINDOWS_API void WINAPI Windows::ReleaseSRWLockExclusive (PSRWLOCK SRWLock)
 
MINIMAL_WINDOWS_API BOOLEAN WINAPI Windows::TryAcquireSRWLockExclusive (PSRWLOCK SRWLock)
 
MINIMAL_WINDOWS_API BOOLEAN WINAPI Windows::TryAcquireSRWLockShared (PSRWLOCK SRWLock)
 
FORCEINLINE void WINAPI Windows::InitializeSRWLock (SRWLOCK *SRWLock)
 
FORCEINLINE BOOLEAN WINAPI Windows::TryAcquireSRWLockExclusive (SRWLOCK *SRWLock)
 
FORCEINLINE BOOLEAN WINAPI Windows::TryAcquireSRWLockShared (SRWLOCK *SRWLock)
 
FORCEINLINE void WINAPI Windows::AcquireSRWLockShared (SRWLOCK *SRWLock)
 
FORCEINLINE void WINAPI Windows::ReleaseSRWLockShared (SRWLOCK *SRWLock)
 
FORCEINLINE void WINAPI Windows::AcquireSRWLockExclusive (SRWLOCK *SRWLock)
 
FORCEINLINE void WINAPI Windows::ReleaseSRWLockExclusive (SRWLOCK *SRWLock)
 
MINIMAL_WINDOWS_API BOOL WINAPI Windows::ConnectNamedPipe (HANDLE hNamedPipe, LPOVERLAPPED lpOverlapped)
 
MINIMAL_WINDOWS_API BOOL WINAPI Windows::GetOverlappedResult (HANDLE hFile, LPOVERLAPPED lpOverlapped, LPDWORD lpNumberOfBytesTransferred, BOOL bWait)
 
MINIMAL_WINDOWS_API BOOL WINAPI Windows::WriteFile (HANDLE hFile, LPCVOID lpBuffer, DWORD nNumberOfBytesToWrite, LPDWORD lpNumberOfBytesWritten, LPOVERLAPPED lpOverlapped)
 
MINIMAL_WINDOWS_API BOOL WINAPI Windows::ReadFile (HANDLE hFile, LPVOID lpBuffer, DWORD nNumberOfBytesToRead, LPDWORD lpNumberOfBytesRead, LPOVERLAPPED lpOverlapped)
 
MINIMAL_WINDOWS_API BOOL WINAPI Windows::QueryPerformanceCounter (LPLARGE_INTEGER Cycles)
 
MINIMAL_WINDOWS_API DWORD WINAPI Windows::GetCurrentThreadId ()
 
MINIMAL_WINDOWS_API DWORD WINAPI Windows::TlsAlloc ()
 
MINIMAL_WINDOWS_API LPVOID WINAPI Windows::TlsGetValue (DWORD dwTlsIndex)
 
MINIMAL_WINDOWS_API BOOL WINAPI Windows::TlsSetValue (DWORD dwTlsIndex, LPVOID lpTlsValue)
 
MINIMAL_WINDOWS_API BOOL WINAPI Windows::TlsFree (DWORD dwTlsIndex)
 
MINIMAL_WINDOWS_API BOOL WINAPI Windows::IsProcessorFeaturePresent (DWORD ProcessorFeature)
 
FORCEINLINE BOOL WINAPI Windows::ConnectNamedPipe (HANDLE hNamedPipe, OVERLAPPED *lpOverlapped)
 
FORCEINLINE BOOL WINAPI Windows::GetOverlappedResult (HANDLE hFile, OVERLAPPED *lpOverlapped, LPDWORD lpNumberOfBytesTransferred, BOOL bWait)
 
FORCEINLINE BOOL WINAPI Windows::WriteFile (HANDLE hFile, LPCVOID lpBuffer, DWORD nNumberOfBytesToWrite, LPDWORD lpNumberOfBytesWritten, OVERLAPPED *lpOverlapped)
 
FORCEINLINE BOOL WINAPI Windows::ReadFile (HANDLE hFile, LPVOID lpBuffer, DWORD nNumberOfBytesToRead, LPDWORD lpNumberOfBytesRead, OVERLAPPED *lpOverlapped)
 
FORCEINLINE void WINAPI Windows::InitializeCriticalSection (CRITICAL_SECTION *lpCriticalSection)
 
FORCEINLINE BOOL WINAPI Windows::InitializeCriticalSectionAndSpinCount (CRITICAL_SECTION *lpCriticalSection, DWORD dwSpinCount)
 
FORCEINLINE DWORD WINAPI Windows::SetCriticalSectionSpinCount (CRITICAL_SECTION *lpCriticalSection, DWORD dwSpinCount)
 
FORCEINLINE BOOL WINAPI Windows::TryEnterCriticalSection (CRITICAL_SECTION *lpCriticalSection)
 
FORCEINLINE void WINAPI Windows::EnterCriticalSection (CRITICAL_SECTION *lpCriticalSection)
 
FORCEINLINE void WINAPI Windows::LeaveCriticalSection (CRITICAL_SECTION *lpCriticalSection)
 
FORCEINLINE void WINAPI Windows::DeleteCriticalSection (CRITICAL_SECTION *lpCriticalSection)
 
FORCEINLINE BOOL WINAPI Windows::QueryPerformanceCounter (LARGE_INTEGER *Cycles)
 

Variables

static constexpr BOOL Windows::TRUE = 1
 
static constexpr BOOL Windows::FALSE = 0
 

Macro Definition Documentation

◆ MINIMAL_WINDOWS_API

#define MINIMAL_WINDOWS_API   extern "C" __declspec(dllimport)

Definition at line 18 of file MinimalWindowsApi.h.

◆ STRICT

#define STRICT

Definition at line 33 of file MinimalWindowsApi.h.

◆ WINAPI

#define WINAPI   __stdcall

Definition at line 58 of file MinimalWindowsApi.h.

◆ WINDOWS_MAX_PATH

#define WINDOWS_MAX_PATH   260

Definition at line 54 of file MinimalWindowsApi.h.

◆ WINDOWS_PF_COMPARE_EXCHANGE128

#define WINDOWS_PF_COMPARE_EXCHANGE128   14

Definition at line 55 of file MinimalWindowsApi.h.