INtime SDK Help
INtime SDK v7.1 > About INtime > INtime Kernel > Memory management > GetRtProcessDataSegment

Obtain the value of the process data segment for use in a call to CopyRtData.

RTHANDLE GetRtProcessDataSegment(VOID);



Return Values

The handle for the current process data segment.


In order to copy data using CopyRtData from a memory object to a pointer in the current process it is necessary only to specify zero for the destination handle to indicate the local data segment. However in the case where a process wishes to copy data from another process directly it is necessary to pass the actual value of the data segment to the other process. This call returns the value required to do that.


Versions Defined in Include Link to
INtime 6.0 intime/rt/include/rt.h rt.h rt.lib
See Also