The wrapper midSetSurfaceRegion calls the method setSurfaceRegion(), which returns a void, not an int.