win32gui.GetUpdateRgn

int = GetUpdateRgn(hWnd, hRgn , Erase )

Copies the update region of a window into an existing region

Parameters

hWnd : PyHANDLE

Handle to a window

hRgn : PyGdiHANDLE

Handle to an existing region to receive update area

Erase : boolean

Indicates if window background is to be erased

Return Value

Returns type of region, one of COMPLEXREGION, NULLREGION, or SIMPLEREGION