win32gui.GetROP2

int = GetROP2(hdc)

Returns the foreground mixing mode of a DC

Parameters

hdc : PyHANDLE

Handle to a device context

Return Value

Returns one of win32con.R2_* values