win32gui.SetROP2

int = SetROP2(hdc, DrawMode )

Sets the foreground mixing mode of a DC

Parameters

hdc : PyHANDLE

Handle to a device context

DrawMode : int

Mixing mode, one of win32con.R2_*.

Return Value

Returns previous mode