Contents

SetIsAcquired

Set the box’s acquisition state.

Declaration

kern_return_t SetIsAcquired(bool in_is_acquired);

Parameters

  • in_is_acquired:

    The new value of the box’s acquisition state.

Return Value

kIOReturnSuccess on success, or another value if an error occurs. For a list of error codes, see Error Codes.

Discussion

If successful, changing the acquisition state sends a notification to the host to update the object state.

This method synchronizes by using the work queue created by the object.

See Also

Managing Acquirability