---
title: kIOSurfaceSuccess
framework: IOSurface
role: symbol
role_heading: Global Variable
platforms: [iOS 11.0+, iPadOS 11.0+, Mac Catalyst 13.0+, macOS 10.6+, tvOS 11.0+, visionOS 1.0+]
path: iosurface/kiosurfacesuccess
---

# kIOSurfaceSuccess

## Declaration

```swift
var kIOSurfaceSuccess: Int32 { get }
```

## See Also

### Constants

- [kIOSurfaceAllocSize](iosurface/kiosurfaceallocsize.md)
- [kIOSurfaceBytesPerElement](iosurface/kiosurfacebytesperelement.md)
- [kIOSurfaceBytesPerRow](iosurface/kiosurfacebytesperrow.md)
- [kIOSurfaceCacheMode](iosurface/kiosurfacecachemode.md)
- [kIOSurfaceColorSpace](iosurface/kiosurfacecolorspace.md)
- [kIOSurfaceElementHeight](iosurface/kiosurfaceelementheight.md)
- [kIOSurfaceElementWidth](iosurface/kiosurfaceelementwidth.md)
- [kIOSurfaceHeight](iosurface/kiosurfaceheight.md)
- [kIOSurfaceICCProfile](iosurface/kiosurfaceiccprofile.md)
- [kIOSurfaceIsGlobal](iosurface/kiosurfaceisglobal.md)
- [kIOSurfaceName](iosurface/kiosurfacename.md)
- [kIOSurfaceOffset](iosurface/kiosurfaceoffset.md)
- [kIOSurfacePixelFormat](iosurface/kiosurfacepixelformat.md)
- [kIOSurfacePixelSizeCastingAllowed](iosurface/kiosurfacepixelsizecastingallowed.md)
- [kIOSurfacePlaneBase](iosurface/kiosurfaceplanebase.md)
