<!--
{
  "availability" : [
    "DriverKit: 27.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VideoDriverKit",
  "identifier" : "/documentation/VideoDriverKit/IOUserVideoBox/SetIsProtected",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "VideoDriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOUserVideoBox@F@SetIsProtected#b#"
  },
  "title" : "SetIsProtected"
}
-->

# SetIsProtected

Sets the value indicating the box’s protection state.

```
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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)