SysSharedMemoryWrite (FUN)

FUNCTION SysSharedMemoryWrite : __UXINT

This function can be used to write a defined number of bytes to a Shared Memory area, starting at a certain offset address. RETURN: Number of bytes written to the shared memory

InOut:

Scope

Name

Type

Comment

Return

SysSharedMemoryWrite

__UXINT

Input

hShm

RTS_IEC_HANDLE

Handle to the shared memory

ulOffset

__UXINT

Offset in the shared memory

pbyData

POINTER TO BYTE

Pointer to buffer with write data

ulSize

__UXINT

Number of bytes to write

pResult

POINTER TO RTS_IEC_RESULT

Pointer to runtime system error code (see CmpErrors.library)