Win32 Thread Compatible API
In addition to its native and RTKernel-C's API, RTKernel-32 also offers a Win32-compatible interface. This allows porting programs originally designed for Win32 to run under RTKernel-32. The Win32 thread API is made available by including windows.h in the source code.
The documentation in this section does not completely describe all Win32 functions emulated by RTKernel-32. Rather, only differences from the original Win32 functions are detailed. Parameters or features of a function not mentioned here have the same functionality as under Win32. For a complete description, please refer to Microsoft's Win32 API documentation, which is included with all C/C++ compilers supported by RTKernel-32.
For all functions expecting a character string, only the ASCII versions are supplied. RTKernel-32 does not support Win32 emulation for Unicode programs. Any security attribute parameters are ignored by RTKernel-32; application programs may specify NULL (this is also supported by Win32).
Win32 API emulation is only available if RTKernel-32 is used with RTTarget-32.
Alternate APIs for RTKernel-32
RTKernel-C 4.5 for DOS Compatible API
Win32 Priorities
Win32 Handles
Win32 and RTKernel-32 Error Handling
Mixing RTKernel-32 and Win32 APIs
Function GetCurrentThreadId
Function CreateThread
Function ExitThread
Function TerminateThread
Function GetExitCodeThread
Function GetCurrentThread
Function Sleep
Function GetTickCount
Function GetTickCount64
Function SuspendThread
Function ResumeThread
Function SetThreadPriority
Function GetThreadPriority
Function InitializeCriticalSection
Function InitializeCriticalSectionAndSpinCount
Function EnterCriticalSection
Function TryEnterCriticalSection
Function LeaveCriticalSection
Function DeleteCriticalSection
Function CreateEvent
Function CreateMutex
Function CreateSemaphore
Function OpenEvent
Function OpenMutex
Function OpenSemaphore
Function SetEvent
Function ResetEvent
Function PulseEvent
Function ReleaseMutex
Function ReleaseSemaphore
Function WaitForSingleObject
Function WaitForMultipleObjects
Function QueryPerformanceCounter
Function QueryPerformanceFrequency
Function GetThreadId
Function SleepEx
Function QueueUserAPC
Function QueueUserWorkItem
Function GetSystemTimeAdjustment
Function SwitchToThread
Function CreateWaitableTimer
Function SetWaitableTimer
Function OpenWaitableTimer
Function CancelWaitableTimer
Function SetThreadAffinityMask
Function SetThreadGroupAffinity
|