win32gui.CombineRgn

int = CombineRgn(Dest, Src1 , Src2 , CombineMode )

Combines two regions

Parameters

Dest : PyGdiHandle

Handle to existing region that will receive combined region

Src1 : PyGdiHandle

Handle to first region

Src2 : PyGdiHandle

Handle to second region

CombineMode : int

One of RGN_AND,RGN_COPY,RGN_DIFF,RGN_OR,RGN_XOR

Return Value

Returns the type of region created, one of NULLREGION, SIMPLEREGION, COMPLEXREGION