struct Rect { ... }
If rects is a null pointer, the buffer size is the same as the size of the dirty region by default.
Related module: NativeWindow
Header file: external_window.h