SysSharedMemoryOpen2 (FUN)
FUNCTION SysSharedMemoryOpen2 : RTS_IEC_HANDLE
- Opens an existing shared memory object specified by name.
NOTE: If shared memory object not exists, an error code is returned an it is not created!
RETURN: Handle to the shared memory object or RTS_INVALID_HANDLE if failed
- InOut:
Scope
Name
Type
Comment
Return
SysSharedMemoryOpen2RTS_IEC_HANDLEInout Const
pszNameSTRINGName of the shared memory
Input
ulPhysicalAddress__UXINTOptional physical address:
pulSizePOINTER TO __UXINT
Pointer to requested size of the shared memory.
pResultPOINTER TO RTS_IEC_RESULT
Pointer to runtime system error code (see CmpErrors.library):