---
title: SetIsProtected
framework: VideoDriverKit
role: symbol
role_heading: Instance Method
platforms: [driverkit 27.0+]
path: videodriverkit/iouservideobox/setisprotected
---

# SetIsProtected

Sets the value indicating the box’s protection state.

## Declaration

```occ
kern_return_t SetIsProtected(bool in_is_protected);
```

## Parameters

- `in_is_protected`: The box’s protection state.

## Discussion

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

- [IsProtected](videodriverkit/iouservideobox/isprotected.md)
