ISharedPointer.AtomicCompareAndSwap (METH)ΒΆ
METHOD AtomicCompareAndSwap : BOOL
Assign the new located to the shared pointer,
if the current content of the shared pointer is equal to other one (itfExpected).
- InOut:
Scope
Name
Type
Comment
Return
AtomicCompareAndSwapBOOLTRUE=> pointer changed.FALSE=> pointer not changed.Input
itfExpectedxwAddress__XWORDThe new memory location, this pointer should pointing to
Output
eErrorID