SetWindowRgn(hWnd, hRgn, Redraw)
Sets the visible region of a window
Parameters
hWnd : PyHANDLE
Handle to a windowhRgn : PyGdiHANDLE
Handle to region to be set, can be NoneRedraw : boolean
Indicates if window should be completely redrawnComments
On success, the system assumes ownership of the region so you should call the handle's Detach()
method to prevent it from being automatically closed.