Function

IOSurfaceIsInUse

Returns true of an IOSurface is in use by any process in the system, otherwise false.

Declaration

Boolean IOSurfaceIsInUse(IOSurfaceRef buffer);