Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
Windows Namespace Reference

Classes

struct  CRITICAL_SECTION
 
union  LARGE_INTEGER
 
struct  OVERLAPPED
 
struct  SRWLOCK
 

Typedefs

typedef int32 BOOL
 
typedef unsigned char BYTE
 
typedef BYTE BOOLEAN
 
typedef unsigned long DWORD
 
typedef DWORD * LPDWORD
 
typedef long LONG
 
typedef long * LPLONG
 
typedef int64 LONGLONG
 
typedef LONGLONG * LPLONGLONG
 
typedef void * LPVOID
 
typedef const void * LPCVOID
 
typedef const wchar_t * LPCTSTR
 
typedef void * HANDLE
 
typedef HINSTANCE__ * HINSTANCE
 
typedef HINSTANCE HMODULE
 
typedef HWND__ * HWND
 
typedef HKEY__ * HKEY
 
typedef HDC__ * HDC
 
typedef HICON__ * HICON
 
typedef HICON__ * HCURSOR
 
typedef tagPROCESSENTRY32W PROCESSENTRY32
 
typedef _EXCEPTION_POINTERS * LPEXCEPTION_POINTERS
 
typedef _RTL_CRITICAL_SECTION * LPCRITICAL_SECTION
 
typedef _OVERLAPPED * LPOVERLAPPED
 
typedef _LARGE_INTEGER * LPLARGE_INTEGER
 
typedef _RTL_SRWLOCK RTL_SRWLOCK
 
typedef _RTL_SRWLOCK * PRTL_SRWLOCK
 
typedef RTL_SRWLOCK * PSRWLOCK
 

Functions

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

Variables

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

Typedef Documentation

◆ BOOL

Definition at line 64 of file MinimalWindowsApi.h.

◆ BOOLEAN

Definition at line 66 of file MinimalWindowsApi.h.

◆ BYTE

◆ DWORD

◆ HANDLE

Definition at line 78 of file MinimalWindowsApi.h.

◆ HCURSOR

Definition at line 85 of file MinimalWindowsApi.h.

◆ HDC

Definition at line 83 of file MinimalWindowsApi.h.

◆ HICON

Definition at line 84 of file MinimalWindowsApi.h.

◆ HINSTANCE

◆ HKEY

Definition at line 82 of file MinimalWindowsApi.h.

◆ HMODULE

◆ HWND

Definition at line 81 of file MinimalWindowsApi.h.

◆ LONG

Definition at line 69 of file MinimalWindowsApi.h.

◆ LONGLONG

Definition at line 71 of file MinimalWindowsApi.h.

◆ LPCRITICAL_SECTION

◆ LPCTSTR

◆ LPCVOID

Definition at line 74 of file MinimalWindowsApi.h.

◆ LPDWORD

Definition at line 68 of file MinimalWindowsApi.h.

◆ LPEXCEPTION_POINTERS

◆ LPLARGE_INTEGER

◆ LPLONG

Definition at line 70 of file MinimalWindowsApi.h.

◆ LPLONGLONG

◆ LPOVERLAPPED

◆ LPVOID

Definition at line 73 of file MinimalWindowsApi.h.

◆ PROCESSENTRY32

◆ PRTL_SRWLOCK

◆ PSRWLOCK

◆ RTL_SRWLOCK

Function Documentation

◆ AcquireSRWLockExclusive() [1/2]

MINIMAL_WINDOWS_API void WINAPI Windows::AcquireSRWLockExclusive ( PSRWLOCK SRWLock)
+ Here is the caller graph for this function:

◆ AcquireSRWLockExclusive() [2/2]

FORCEINLINE void WINAPI Windows::AcquireSRWLockExclusive ( SRWLOCK * SRWLock)

Definition at line 153 of file MinimalWindowsApi.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AcquireSRWLockShared() [1/2]

MINIMAL_WINDOWS_API void WINAPI Windows::AcquireSRWLockShared ( PSRWLOCK SRWLock)
+ Here is the caller graph for this function:

◆ AcquireSRWLockShared() [2/2]

FORCEINLINE void WINAPI Windows::AcquireSRWLockShared ( SRWLOCK * SRWLock)

Definition at line 143 of file MinimalWindowsApi.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ConnectNamedPipe() [1/2]

MINIMAL_WINDOWS_API BOOL WINAPI Windows::ConnectNamedPipe ( HANDLE hNamedPipe,
LPOVERLAPPED lpOverlapped )
+ Here is the caller graph for this function:

◆ ConnectNamedPipe() [2/2]

FORCEINLINE BOOL WINAPI Windows::ConnectNamedPipe ( HANDLE hNamedPipe,
OVERLAPPED * lpOverlapped )

Definition at line 187 of file MinimalWindowsApi.h.

+ Here is the call graph for this function:

◆ DeleteCriticalSection() [1/2]

FORCEINLINE void WINAPI Windows::DeleteCriticalSection ( CRITICAL_SECTION * lpCriticalSection)

Definition at line 237 of file MinimalWindowsApi.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DeleteCriticalSection() [2/2]

MINIMAL_WINDOWS_API void WINAPI Windows::DeleteCriticalSection ( LPCRITICAL_SECTION lpCriticalSection)
+ Here is the caller graph for this function:

◆ EnterCriticalSection() [1/2]

FORCEINLINE void WINAPI Windows::EnterCriticalSection ( CRITICAL_SECTION * lpCriticalSection)

Definition at line 227 of file MinimalWindowsApi.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ EnterCriticalSection() [2/2]

MINIMAL_WINDOWS_API void WINAPI Windows::EnterCriticalSection ( LPCRITICAL_SECTION lpCriticalSection)
+ Here is the caller graph for this function:

◆ FreeLibrary()

MINIMAL_WINDOWS_API BOOL WINAPI Windows::FreeLibrary ( HMODULE hModule)

◆ GetCurrentThreadId()

MINIMAL_WINDOWS_API DWORD WINAPI Windows::GetCurrentThreadId ( )
+ Here is the caller graph for this function:

◆ GetOverlappedResult() [1/2]

MINIMAL_WINDOWS_API BOOL WINAPI Windows::GetOverlappedResult ( HANDLE hFile,
LPOVERLAPPED lpOverlapped,
LPDWORD lpNumberOfBytesTransferred,
BOOL bWait )
+ Here is the caller graph for this function:

◆ GetOverlappedResult() [2/2]

FORCEINLINE BOOL WINAPI Windows::GetOverlappedResult ( HANDLE hFile,
OVERLAPPED * lpOverlapped,
LPDWORD lpNumberOfBytesTransferred,
BOOL bWait )

Definition at line 192 of file MinimalWindowsApi.h.

+ Here is the call graph for this function:

◆ InitializeCriticalSection() [1/2]

FORCEINLINE void WINAPI Windows::InitializeCriticalSection ( CRITICAL_SECTION * lpCriticalSection)

Definition at line 207 of file MinimalWindowsApi.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ InitializeCriticalSection() [2/2]

MINIMAL_WINDOWS_API void WINAPI Windows::InitializeCriticalSection ( LPCRITICAL_SECTION lpCriticalSection)
+ Here is the caller graph for this function:

◆ InitializeCriticalSectionAndSpinCount() [1/2]

FORCEINLINE BOOL WINAPI Windows::InitializeCriticalSectionAndSpinCount ( CRITICAL_SECTION * lpCriticalSection,
DWORD dwSpinCount )

Definition at line 212 of file MinimalWindowsApi.h.

+ Here is the call graph for this function:

◆ InitializeCriticalSectionAndSpinCount() [2/2]

MINIMAL_WINDOWS_API BOOL WINAPI Windows::InitializeCriticalSectionAndSpinCount ( LPCRITICAL_SECTION lpCriticalSection,
DWORD dwSpinCount )
+ Here is the caller graph for this function:

◆ InitializeSRWLock() [1/2]

MINIMAL_WINDOWS_API void WINAPI Windows::InitializeSRWLock ( PSRWLOCK SRWLock)
+ Here is the caller graph for this function:

◆ InitializeSRWLock() [2/2]

FORCEINLINE void WINAPI Windows::InitializeSRWLock ( SRWLOCK * SRWLock)

Definition at line 128 of file MinimalWindowsApi.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsProcessorFeaturePresent()

MINIMAL_WINDOWS_API BOOL WINAPI Windows::IsProcessorFeaturePresent ( DWORD ProcessorFeature)
+ Here is the caller graph for this function:

◆ LeaveCriticalSection() [1/2]

FORCEINLINE void WINAPI Windows::LeaveCriticalSection ( CRITICAL_SECTION * lpCriticalSection)

Definition at line 232 of file MinimalWindowsApi.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LeaveCriticalSection() [2/2]

MINIMAL_WINDOWS_API void WINAPI Windows::LeaveCriticalSection ( LPCRITICAL_SECTION lpCriticalSection)
+ Here is the caller graph for this function:

◆ LoadLibraryW()

MINIMAL_WINDOWS_API HMODULE WINAPI Windows::LoadLibraryW ( LPCTSTR lpFileName)

◆ QueryPerformanceCounter() [1/2]

FORCEINLINE BOOL WINAPI Windows::QueryPerformanceCounter ( LARGE_INTEGER * Cycles)

Definition at line 242 of file MinimalWindowsApi.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ QueryPerformanceCounter() [2/2]

MINIMAL_WINDOWS_API BOOL WINAPI Windows::QueryPerformanceCounter ( LPLARGE_INTEGER Cycles)
+ Here is the caller graph for this function:

◆ ReadFile() [1/2]

MINIMAL_WINDOWS_API BOOL WINAPI Windows::ReadFile ( HANDLE hFile,
LPVOID lpBuffer,
DWORD nNumberOfBytesToRead,
LPDWORD lpNumberOfBytesRead,
LPOVERLAPPED lpOverlapped )
+ Here is the caller graph for this function:

◆ ReadFile() [2/2]

FORCEINLINE BOOL WINAPI Windows::ReadFile ( HANDLE hFile,
LPVOID lpBuffer,
DWORD nNumberOfBytesToRead,
LPDWORD lpNumberOfBytesRead,
OVERLAPPED * lpOverlapped )

Definition at line 202 of file MinimalWindowsApi.h.

+ Here is the call graph for this function:

◆ ReleaseSRWLockExclusive() [1/2]

MINIMAL_WINDOWS_API void WINAPI Windows::ReleaseSRWLockExclusive ( PSRWLOCK SRWLock)
+ Here is the caller graph for this function:

◆ ReleaseSRWLockExclusive() [2/2]

FORCEINLINE void WINAPI Windows::ReleaseSRWLockExclusive ( SRWLOCK * SRWLock)

Definition at line 158 of file MinimalWindowsApi.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ReleaseSRWLockShared() [1/2]

MINIMAL_WINDOWS_API void WINAPI Windows::ReleaseSRWLockShared ( PSRWLOCK SRWLock)
+ Here is the caller graph for this function:

◆ ReleaseSRWLockShared() [2/2]

FORCEINLINE void WINAPI Windows::ReleaseSRWLockShared ( SRWLOCK * SRWLock)

Definition at line 148 of file MinimalWindowsApi.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetCriticalSectionSpinCount() [1/2]

FORCEINLINE DWORD WINAPI Windows::SetCriticalSectionSpinCount ( CRITICAL_SECTION * lpCriticalSection,
DWORD dwSpinCount )

Definition at line 217 of file MinimalWindowsApi.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetCriticalSectionSpinCount() [2/2]

MINIMAL_WINDOWS_API DWORD WINAPI Windows::SetCriticalSectionSpinCount ( LPCRITICAL_SECTION lpCriticalSection,
DWORD dwSpinCount )
+ Here is the caller graph for this function:

◆ TlsAlloc()

MINIMAL_WINDOWS_API DWORD WINAPI Windows::TlsAlloc ( )
+ Here is the caller graph for this function:

◆ TlsFree()

MINIMAL_WINDOWS_API BOOL WINAPI Windows::TlsFree ( DWORD dwTlsIndex)
+ Here is the caller graph for this function:

◆ TlsGetValue()

MINIMAL_WINDOWS_API LPVOID WINAPI Windows::TlsGetValue ( DWORD dwTlsIndex)
+ Here is the caller graph for this function:

◆ TlsSetValue()

MINIMAL_WINDOWS_API BOOL WINAPI Windows::TlsSetValue ( DWORD dwTlsIndex,
LPVOID lpTlsValue )
+ Here is the caller graph for this function:

◆ TryAcquireSRWLockExclusive() [1/2]

MINIMAL_WINDOWS_API BOOLEAN WINAPI Windows::TryAcquireSRWLockExclusive ( PSRWLOCK SRWLock)
+ Here is the caller graph for this function:

◆ TryAcquireSRWLockExclusive() [2/2]

FORCEINLINE BOOLEAN WINAPI Windows::TryAcquireSRWLockExclusive ( SRWLOCK * SRWLock)

Definition at line 133 of file MinimalWindowsApi.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TryAcquireSRWLockShared() [1/2]

MINIMAL_WINDOWS_API BOOLEAN WINAPI Windows::TryAcquireSRWLockShared ( PSRWLOCK SRWLock)
+ Here is the caller graph for this function:

◆ TryAcquireSRWLockShared() [2/2]

FORCEINLINE BOOLEAN WINAPI Windows::TryAcquireSRWLockShared ( SRWLOCK * SRWLock)

Definition at line 138 of file MinimalWindowsApi.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TryEnterCriticalSection() [1/2]

FORCEINLINE BOOL WINAPI Windows::TryEnterCriticalSection ( CRITICAL_SECTION * lpCriticalSection)

Definition at line 222 of file MinimalWindowsApi.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TryEnterCriticalSection() [2/2]

MINIMAL_WINDOWS_API BOOL WINAPI Windows::TryEnterCriticalSection ( LPCRITICAL_SECTION lpCriticalSection)
+ Here is the caller graph for this function:

◆ WriteFile() [1/2]

MINIMAL_WINDOWS_API BOOL WINAPI Windows::WriteFile ( HANDLE hFile,
LPCVOID lpBuffer,
DWORD nNumberOfBytesToWrite,
LPDWORD lpNumberOfBytesWritten,
LPOVERLAPPED lpOverlapped )
+ Here is the caller graph for this function:

◆ WriteFile() [2/2]

FORCEINLINE BOOL WINAPI Windows::WriteFile ( HANDLE hFile,
LPCVOID lpBuffer,
DWORD nNumberOfBytesToWrite,
LPDWORD lpNumberOfBytesWritten,
OVERLAPPED * lpOverlapped )

Definition at line 197 of file MinimalWindowsApi.h.

+ Here is the call graph for this function:

Variable Documentation

◆ FALSE

constexpr BOOL Windows::FALSE = 0
staticconstexpr

Definition at line 105 of file MinimalWindowsApi.h.

◆ TRUE

constexpr BOOL Windows::TRUE = 1
staticconstexpr

Definition at line 104 of file MinimalWindowsApi.h.