iwin32 Elements
The iwin32 elements behave just like the Win32 elements, with a few documented restrictions.
Thread priorities require some mapping: internally every thread has an INtime priority (0=best .. 254=worst). Functions that originate from Win32 use the range of -15 to +15 (these functions do not have an Rt prefix). Functions that originate from another RTOS have a range from 0=worst to 127=best (the function names start with Rt).
As an example, assume that a thread has INtime priority 117; the various APIs return values as follows:
GetRtThreadPriority (INtime) -> 117
GetThreadPriority -> 2 = THREAD_PRIORITY_HIGHEST
RtGetThreadPriority -> 67