Windows Compatibility API
Mono implements a small subset of the Win32 API for some
file system interaction, I/O, thread and process operations.
On Windows, Mono uses directly the services provided by the
operating system. On other operating system it uses its own
implementation (referred to as the "io-layer" or "wapi").
Windows Compatibility API
BindIoCompletionCallback
Syntax
BindIoCompletionCallback
CreateProcessWithLogonW
Syntax
CreateProcessWithLogonW
DeleteCriticalSection
Syntax
DeleteCriticalSection
EnterCriticalSection
Syntax
EnterCriticalSection
EnumProcessModules
Syntax
EnumProcessModules
FileTimeToSystemTime
Syntax
FileTimeToSystemTime
GetCurrentDirectory
Syntax
GetCurrentDirectory
GetCurrentProcessId
Syntax
GetCurrentProcessId
GetCurrentThreadId
Syntax
GetCurrentThreadId
GetDiskFreeSpaceEx
Syntax
GetDiskFreeSpaceEx
GetExitCodeProcess
Syntax
GetExitCodeProcess
GetFileAttributesEx
Syntax
GetFileAttributesEx
GetFileVersionInfo
Syntax
GetFileVersionInfo
GetFileVersionInfoSize
Syntax
GetFileVersionInfoSize
GetLogicalDriveStrings
Syntax
GetLogicalDriveStrings
GetModuleFileNameEx
Syntax
GetModuleFileNameEx
GetModuleInformation
Syntax
GetModuleInformation
GetProcessWorkingSetSize
Syntax
GetProcessWorkingSetSize
ImpersonateLoggedOnUser
Syntax
ImpersonateLoggedOnUser
InitializeCriticalSectionAndSpinCount
Syntax
InitializeCriticalSectionAndSpinCount
InitializeCriticalSection
Syntax
InitializeCriticalSection
LeaveCriticalSection
Syntax
LeaveCriticalSection
QueryPerformanceCounter
Syntax
QueryPerformanceCounter
QueryPerformanceFrequency
Syntax
QueryPerformanceFrequency
SetCriticalSectionSpinCount
Syntax
SetCriticalSectionSpinCount
SetCurrentDirectory
Syntax
SetCurrentDirectory
SetProcessWorkingSetSize
Syntax
SetProcessWorkingSetSize
SignalObjectAndWait
Syntax
SignalObjectAndWait
TryEnterCriticalSection
Syntax
TryEnterCriticalSection
WaitForMultipleObjectsEx
Syntax
WaitForMultipleObjectsEx
WaitForMultipleObjects
Syntax
WaitForMultipleObjects
WaitForSingleObjectEx
Syntax
WaitForSingleObjectEx
WaitForSingleObject
Syntax
WaitForSingleObject
WSAStartup
Extended APIs
The extended APIs provide access to a few internals of the
WAPI stack that are not exposed through the standard Win32
APIs.
wapi_clear_interruption
Syntax
wapi_clear_interruption
wapi_current_thread_desc
Syntax
wapi_current_thread_desc
wapi_interrupt_thread
Syntax
wapi_interrupt_thread
wapi_self_interrupt
Syntax
wapi_self_interrupt
wapi_thread_clear_wait_handle
Syntax
wapi_thread_clear_wait_handle