IWriteableSharedArea.AreaCompareAndSwap (METH)ΒΆ

METHOD AreaCompareAndSwap : BOOL

Copy the data located in pNewData in the shared memory area, if the current content of the area is equal to the data located in pExpectedData.

InOut:

Scope

Name

Type

Comment

Return

AreaCompareAndSwap

BOOL

TRUE => shared memory area changed. FALSE => shared memory area not changed.

Input

pExpectedData

__XWORD

pNewData

__XWORD

Output

eErrorID

ERROR