Deletes a region object.
BOOLEAN DeleteRtRegion(
    RTHANDLE hRegion
);
hRegion 
If a thread with access to the region tries to delete the region, the thread receives an E_CONTEXT status code. If a thread requests deletion while another thread has access, deletion does not occur until access is surrendered.
A deadlock can occur when two or more threads request deletion of a region that another thread has access to, or when a thread tries to delete another thread that is trying to delete an occupied region. When the region is deleted, any waiting threads awaken with an E_EXIST exceptional condition.
TRUE 
FALSE 
E_OK 0x0000 
E_CONTEXT 0x0005 
E_EXIST 0x0006 
hRegion. 
E_TYPE 0x8002 
hRegion is not a region handle. | Versions | Defined in | Include | Link to | 
|---|---|---|---|
| INtime 3.0 | intime/rt/include/rtbase.h | rt.h | rt.lib |