Function

IOSurfaceGetElementHeight

Returns the height (in pixels) of each element in a particular buffer.

Declaration

size_t IOSurfaceGetElementHeight(IOSurfaceRef buffer);

Return Value

Returns 0 if buffer is invalid.