Get the 64-bit value returned on the last compare swap operation.
- macOS 10.0+
- Mac Catalyst 13.0+
The command object interface of interest
A pointer to contain the value returned by the target of this command on the last compare swap operation
Returns kIOReturnBadArgument if the last compare swap performed was 32-bit.
Available in v2 and newer.
Was the last lock operation successful?
Return number of bytes transferred by this command object when it last completed execution.
Get the 32-bit value returned on the last compare swap operation.
Set the completion handler to be called once the command completes asynchronous execution .
Set flags governing this command's execution.
Set FireWire bus generation for which the command object shall be valid. If the failOnReset attribute has been set, the command will only be considered for execution during the bus generation specified by this function.
Set the user refCon value. This is the user defined value that will be passed in the refCon argument to the completion function.
Set values for 32-bit compare swap operation. Calling this function will make the command object perform 32-bit compare swap transactions on the bus. To perform 64-bit compare swap operations, use the SetValues64() call, below.
Set values for 64-bit compare swap operation. Calling this function will make the command object perform 64-bit compare swap transactions on the bus. To perform 32-bit compare swap operations, use the SetValues() call, above.