Contents

SetIsProtected

Sets the value indicating the box’s protection state.

Declaration

kern_return_t SetIsProtected(bool in_is_protected);

Parameters

  • in_is_protected:

    The box’s protection state.

Discussion

The object sends a notification to the host to update the object state on success. The object’s work queue synchronizes access to the value.

See Also

Managing protection state