---
title: IOSurfaceLockOptions
framework: IOSurface
role: symbol
role_heading: Structure
platforms: [iOS 11.0+, iPadOS 11.0+, Mac Catalyst 13.0+, macOS 10.6+, tvOS 11.0+, visionOS 1.0+]
path: iosurface/iosurfacelockoptions
---

# IOSurfaceLockOptions

## Declaration

```swift
struct IOSurfaceLockOptions
```

## Topics

### Initializers

- [init(rawValue:)](iosurface/iosurfacelockoptions/init(rawvalue:).md)

### Options

- [avoidSync](iosurface/iosurfacelockoptions/avoidsync.md)
- [readOnly](iosurface/iosurfacelockoptions/readonly.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Structures

- [IOSurfacePropertyKey](iosurface/iosurfacepropertykey.md)
- [IOSurfacePurgeabilityState](iosurface/iosurfacepurgeabilitystate.md)
