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

Returns system resources consumed by ntxMapRtSharedMemory. The pointer obtained from the mapping operation becomes invalid.

NTXSTATUS ntxUnmapRtSharedMemory(
    NTXHANDLE hSegment
);

Parameters

hSegment
Handle to the memory area allocated by the RT application, and used in a previous mapping operation.

Return Values

Returns the status code.

Status

E_OK 0x0000
No exceptional conditions occurred.
E_STATE 0x0007
The segment was not mapped.
E_NTX_INTERNAL_ERROR
The DLL could not contact the RT kernel to complete the request.

Requirements

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

See Also

Memory management system calls, ntxMapRtSharedMemory