INtime SDK Help
ntxFreeRtMemory
INtime SDK v6 > About INtime > INtime Kernel > Memory management > ntxFreeRtMemory

Frees a memory object previously created with ntxAllocateRtMemory.

Note:  If a mapping to this object was created with ntxMapRtSharedMemoryEx, remember to free the mapping before freeing the memory.
NTXSTATUS ntxFreeRtMemory(
    NTXHANDLE hObject
);

Parameters

hObject
Handle for the memory object.

Return Values

E_OK
Success
Status code
Failure

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/nt/include/ntx.h ntx.h ntxext.lib
INtime 4.01 intime/nt/include/ntx.h ntx.h ntxext64.lib (for 64-bit Windows)

See Also

Memory management system calls, ntxMapRtSharedMemoryEx, ntxAllocateRtMemory