Function

IOSurfaceGetBytesPerRow

Returns the length (in bytes) of each row in a particular buffer.

Declaration

size_t IOSurfaceGetBytesPerRow(IOSurfaceRef buffer);

Return Value

Returns 0 if buffer is invalid.