SysSharedMemoryRead (FUN)
FUNCTION SysSharedMemoryRead : __UXINT
This function can be used to read a defined number of bytes from a Shared Memory, starting at a certain offset. RETURN: Number of bytes read from the shared memory
- InOut:
Scope
Name
Type
Comment
Return
SysSharedMemoryRead__UXINTInput
hShmRTS_IEC_HANDLEHandle to the shared memory
ulOffset__UXINTOffset in the shared memory, where reading should start
pbyDataPOINTER TO BYTE
Pointer to buffer to read in data
ulSize__UXINTNumber of bytes to read
pResultPOINTER TO RTS_IEC_RESULT
Pointer to runtime system error code (see CmpErrors.library)