Function IOSurfaceLock

Source
pub unsafe extern "C-unwind" fn IOSurfaceLock(
    buffer: &IOSurfaceRef,
    options: IOSurfaceLockOptions,
    seed: *mut u32,
) -> kern_return_t
Available on crate features IOSurfaceTypes and libc and IOSurfaceRef only.