Function

IOSurfaceAlignProperty

Returns the smallest aligned value greater than or equal to the specified value.

Declaration

size_t IOSurfaceAlignProperty(CFStringRef property, size_t value);

Discussion

For properties with no alignment requirements, the original value is returned.