Creates a region object. A function parameter determines whether the region queues threads on a priority or a FIFO basis.
RTHANDLE CreateRtRegion(
    WORD wRegionFlags
);
wRegionFlags 
FIFO_QUEUING | 
Queues threads on this object in First-In-First-Out order. | 
PRIORITY_QUEUING | 
Queues threads on this object in priority order. | 
Threads that use regions cannot be deleted while they are in control of the region.
BAD_RTHANDLE 
E_OK 0x0000 
E_MEM 0x0002 
E_LIMIT 0x0004 
E_SLOT 0x000C 
| Versions | Defined in | Include | Link to | 
|---|---|---|---|
| INtime 3.0 | intime/rt/include/rtbase.h | rt.h | rt.lib |