Function

IOSurfaceGetHeight

Returns the height of the IOSurface buffer in pixels.

Declaration

size_t IOSurfaceGetHeight(IOSurfaceRef buffer);

Return Value

Returns 0 if buffer is invalid.