Contents

IOSurfaceLookupFromMachPort(_:)

Recreates an IOSurfaceRef from a mach port.

Declaration

func IOSurfaceLookupFromMachPort(_ port: mach_port_t) -> IOSurfaceRef?

Discussion

This call takes a mach_port_t created via IOSurfaceCreatePort() and recreates an IOSurfaceRef from it.

See Also

Functions