SysSharedMemoryReadByte (FUN)
FUNCTION SysSharedMemoryReadByte : __UXINT
This function can be used to read “byte-wise” a defined number of bytes, starting at a certain offset. RETURN: Number of bytes read from the shared memory
- InOut:
Scope
Name
Type
Comment
Return
SysSharedMemoryReadByte__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)