Deletes a memory handle created with CreateRtMemoryHandle.
BOOLEAN DeleteRtMemoryHandle(
    RTHANDLE hSeg,    // Handle to delete
);
hSeg 
Memory that was addressed by the RT handle is not returned to the memory pool. The GDT slot is returned to the memory manager for reassignment.
TRUE 
FALSE 
E_OK 0x0000 
E_EXIST 0x0006 
hSeg. 
E_TYPE 0x8002 
hSeg requires an RT handle for a shared RT memory area. 
E_INVALID_ADDRESS 0x00E2 
| Versions | Defined in | Include | Link to | 
|---|---|---|---|
| INtime 3.0 | intime/rt/include/rtbase.h | rt.h | rt.lib |