Function

IOSurfaceGetUseCount

Returns the per-process usage count for an IOSurface.

Declaration

int32_t IOSurfaceGetUseCount(IOSurfaceRef buffer);