Function

IOSurfaceLookupFromXPCObject

Declaration

IOSurfaceRef IOSurfaceLookupFromXPCObject(xpc_object_t xobj);

Discussion

This call takes an XPC object created via IOSurfaceCreateXPCObject() and recreates an IOSurfaceRef from it. Note: This call does NOT destroy the port.